Skip to content

Commit e245cd7

Browse files
committed
DocBlocks
1 parent 990e0e7 commit e245cd7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Illuminate/Database/Eloquent/Factories/Factory.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,6 +292,7 @@ protected function makeInstance(?Model $parent)
292292
/**
293293
* Get a raw attributes array for the model.
294294
*
295+
* @param \Illuminate\Database\Eloquent\Model|null $parent
295296
* @return mixed
296297
*/
297298
protected function getExpandedAttributes(?Model $parent)
@@ -335,7 +336,7 @@ protected function parentResolvers()
335336
/**
336337
* Expand all attributes to their underlying values.
337338
*
338-
* @param array $attributes
339+
* @param array $definition
339340
* @return array
340341
*/
341342
protected function expandAttributes(array $definition)
@@ -474,6 +475,7 @@ protected function callAfterMaking(Collection $instances)
474475
* Call the "after creating" callbacks for the given model instances.
475476
*
476477
* @param \Illuminate\Support\Collection $instances
478+
* @param \Illuminate\Database\Eloquent\Model|null $parent
477479
* @return void
478480
*/
479481
protected function callAfterCreating(Collection $instances, ?Model $parent = null)

0 commit comments

Comments
 (0)