Skip to content

Commit 0f1eb9e

Browse files
authored
Fixes Factory::state callable argument type (#43969)
1 parent e12cb13 commit 0f1eb9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -478,7 +478,7 @@ protected function expandAttributes(array $definition)
478478
/**
479479
* Add a new state transformation to the model definition.
480480
*
481-
* @param (callable(array<string, mixed>, \Illuminate\Database\Eloquent\Model|null=): array<string, mixed>)|array<string, mixed> $state
481+
* @param (callable(array<string, mixed>, \Illuminate\Database\Eloquent\Model|null): array<string, mixed>)|array<string, mixed> $state
482482
* @return static
483483
*/
484484
public function state($state)

0 commit comments

Comments
 (0)