Skip to content

Commit

Permalink
[10.x] Fix callable argument type (#52335)
Browse files Browse the repository at this point in the history
  • Loading branch information
villfa authored Aug 1, 2024
1 parent 08b1b98 commit db768e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Illuminate/Database/Eloquent/Factories/Factory.php
Original file line number Diff line number Diff line change
Expand Up @@ -676,7 +676,7 @@ public function afterMaking(Closure $callback)
/**
* Add a new "after creating" callback to the model definition.
*
* @param \Closure(\Illuminate\Database\Eloquent\Model|TModel): mixed $callback
* @param \Closure(\Illuminate\Database\Eloquent\Model|TModel, \Illuminate\Database\Eloquent\Model|null): mixed $callback
* @return static
*/
public function afterCreating(Closure $callback)
Expand Down

0 comments on commit db768e4

Please sign in to comment.