Skip to content

Commit 4da2a92

Browse files
committed
Fix styleCI issues
1 parent ba66a4e commit 4da2a92

File tree

2 files changed

+24
-24
lines changed

2 files changed

+24
-24
lines changed

src/Relations/EmbedsOne.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public function getEager()
3333
/**
3434
* Save a new model and attach it to the parent model.
3535
*
36-
* @param Model $model
36+
* @param Model $model
3737
* @return Model|bool
3838
*/
3939
public function performInsert(Model $model)
@@ -63,7 +63,7 @@ public function performInsert(Model $model)
6363
/**
6464
* Save an existing model and attach it to the parent model.
6565
*
66-
* @param Model $model
66+
* @param Model $model
6767
* @return Model|bool
6868
*/
6969
public function performUpdate(Model $model)
@@ -114,7 +114,7 @@ public function performDelete()
114114
/**
115115
* Attach the model to its parent.
116116
*
117-
* @param Model $model
117+
* @param Model $model
118118
* @return Model
119119
*/
120120
public function associate(Model $model)
@@ -145,8 +145,8 @@ public function delete()
145145
/**
146146
* Get the name of the "where in" method for eager loading.
147147
*
148-
* @param \Illuminate\Database\Eloquent\Model $model
149-
* @param string $key
148+
* @param \Illuminate\Database\Eloquent\Model $model
149+
* @param string $key
150150
* @return string
151151
*/
152152
protected function whereInMethod(EloquentModel $model, $key)

src/Relations/EmbedsOneOrMany.php

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)