Skip to content

Commit

Permalink
Fix typo in Factory::state (#42144)
Browse files Browse the repository at this point in the history
  • Loading branch information
szepeviktor authored Apr 26, 2022
1 parent f09c5cd commit c582217
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Eloquent/Factories/Factory.php
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,7 @@ protected function expandAttributes(array $definition)
/**
* Add a new state transformation to the model definition.
*
* @param (callable(array<string, mixed>, \Illuminate\Database\Eloquent\Model|null=): array<string, mixed>)|array<string, mixed> $state
* @param (callable(array<string, mixed>, \Illuminate\Database\Eloquent\Model|null): array<string, mixed>)|array<string, mixed> $state
* @return static
*/
public function state($state)
Expand Down

0 comments on commit c582217

Please sign in to comment.