File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
src/Illuminate/Database/Eloquent/Factories Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -292,6 +292,7 @@ protected function makeInstance(?Model $parent)
292
292
/**
293
293
* Get a raw attributes array for the model.
294
294
*
295
+ * @param \Illuminate\Database\Eloquent\Model|null $parent
295
296
* @return mixed
296
297
*/
297
298
protected function getExpandedAttributes (?Model $ parent )
@@ -335,7 +336,7 @@ protected function parentResolvers()
335
336
/**
336
337
* Expand all attributes to their underlying values.
337
338
*
338
- * @param array $attributes
339
+ * @param array $definition
339
340
* @return array
340
341
*/
341
342
protected function expandAttributes (array $ definition )
@@ -474,6 +475,7 @@ protected function callAfterMaking(Collection $instances)
474
475
* Call the "after creating" callbacks for the given model instances.
475
476
*
476
477
* @param \Illuminate\Support\Collection $instances
478
+ * @param \Illuminate\Database\Eloquent\Model|null $parent
477
479
* @return void
478
480
*/
479
481
protected function callAfterCreating (Collection $ instances , ?Model $ parent = null )
You can’t perform that action at this time.
0 commit comments