Skip to content

Commit db768e4

Browse files
authored
[10.x] Fix callable argument type (#52335)
1 parent 08b1b98 commit db768e4

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
@@ -676,7 +676,7 @@ public function afterMaking(Closure $callback)
676676
/**
677677
* Add a new "after creating" callback to the model definition.
678678
*
679-
* @param \Closure(\Illuminate\Database\Eloquent\Model|TModel): mixed $callback
679+
* @param \Closure(\Illuminate\Database\Eloquent\Model|TModel, \Illuminate\Database\Eloquent\Model|null): mixed $callback
680680
* @return static
681681
*/
682682
public function afterCreating(Closure $callback)

0 commit comments

Comments
 (0)