Skip to content

Commit

Permalink
Revert "Fix typo in Factory::state (#42144)" (#42146)
Browse files Browse the repository at this point in the history
This reverts commit d787947998089e6eac4883d90418601fdb5c529d.
  • Loading branch information
driesvints authored Apr 26, 2022
1 parent c582217 commit b1394d0
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 b1394d0

Please sign in to comment.