@@ -34,12 +34,12 @@ abstract class EmbedsOneOrMany extends Relation
3434 /**
3535 * Create a new embeds many relationship instance.
3636 *
37- * @param Builder $query
38- * @param Model $parent
39- * @param Model $related
40- * @param string $localKey
41- * @param string $foreignKey
42- * @param string $relation
37+ * @param Builder $query
38+ * @param Model $parent
39+ * @param Model $related
40+ * @param string $localKey
41+ * @param string $foreignKey
42+ * @param string $relation
4343 */
4444 public function __construct (Builder $ query , Model $ parent , Model $ related , $ localKey , $ foreignKey , $ relation )
4545 {
@@ -95,7 +95,7 @@ public function match(array $models, Collection $results, $relation)
9595 /**
9696 * Shorthand to get the results of the relationship.
9797 *
98- * @param array $columns
98+ * @param array $columns
9999 * @return Collection
100100 */
101101 public function get ($ columns = ['* ' ])
@@ -116,7 +116,7 @@ public function count()
116116 /**
117117 * Attach a model instance to the parent model.
118118 *
119- * @param Model $model
119+ * @param Model $model
120120 * @return Model|bool
121121 */
122122 public function save (Model $ model )
@@ -129,7 +129,7 @@ public function save(Model $model)
129129 /**
130130 * Attach a collection of models to the parent instance.
131131 *
132- * @param Collection|array $models
132+ * @param Collection|array $models
133133 * @return Collection|array
134134 */
135135 public function saveMany ($ models )
@@ -144,7 +144,7 @@ public function saveMany($models)
144144 /**
145145 * Create a new instance of the related model.
146146 *
147- * @param array $attributes
147+ * @param array $attributes
148148 * @return Model
149149 */
150150 public function create (array $ attributes = [])
@@ -164,7 +164,7 @@ public function create(array $attributes = [])
164164 /**
165165 * Create an array of new instances of the related model.
166166 *
167- * @param array $records
167+ * @param array $records
168168 * @return array
169169 */
170170 public function createMany (array $ records )
@@ -181,7 +181,7 @@ public function createMany(array $records)
181181 /**
182182 * Transform single ID, single Model or array of Models into an array of IDs.
183183 *
184- * @param mixed $ids
184+ * @param mixed $ids
185185 * @return array
186186 */
187187 protected function getIdsArrayFrom ($ ids )
@@ -236,7 +236,7 @@ protected function setEmbedded($records)
236236 /**
237237 * Get the foreign key value for the relation.
238238 *
239- * @param mixed $id
239+ * @param mixed $id
240240 * @return mixed
241241 */
242242 protected function getForeignKeyValue ($ id )
@@ -252,7 +252,7 @@ protected function getForeignKeyValue($id)
252252 /**
253253 * Convert an array of records to a Collection.
254254 *
255- * @param array $records
255+ * @param array $records
256256 * @return Collection
257257 */
258258 protected function toCollection (array $ records = [])
@@ -273,7 +273,7 @@ protected function toCollection(array $records = [])
273273 /**
274274 * Create a related model instanced.
275275 *
276- * @param array $attributes
276+ * @param array $attributes
277277 * @return Model
278278 */
279279 protected function toModel ($ attributes = [])
@@ -342,7 +342,7 @@ protected function isNested()
342342 /**
343343 * Get the fully qualified local key name.
344344 *
345- * @param string $glue
345+ * @param string $glue
346346 * @return string
347347 */
348348 protected function getPathHierarchy ($ glue = '. ' )
@@ -380,7 +380,7 @@ protected function getParentKey()
380380 * Return update values.
381381 *
382382 * @param $array
383- * @param string $prepend
383+ * @param string $prepend
384384 * @return array
385385 */
386386 public static function getUpdateValues ($ array , $ prepend = '' )
@@ -407,8 +407,8 @@ public function getQualifiedForeignKeyName()
407407 /**
408408 * Get the name of the "where in" method for eager loading.
409409 *
410- * @param \Illuminate\Database\Eloquent\Model $model
411- * @param string $key
410+ * @param \Illuminate\Database\Eloquent\Model $model
411+ * @param string $key
412412 * @return string
413413 */
414414 protected function whereInMethod (EloquentModel $ model , $ key )
0 commit comments