We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 08b1b98 commit db768e4Copy full SHA for db768e4
src/Illuminate/Database/Eloquent/Factories/Factory.php
@@ -676,7 +676,7 @@ public function afterMaking(Closure $callback)
676
/**
677
* Add a new "after creating" callback to the model definition.
678
*
679
- * @param \Closure(\Illuminate\Database\Eloquent\Model|TModel): mixed $callback
+ * @param \Closure(\Illuminate\Database\Eloquent\Model|TModel, \Illuminate\Database\Eloquent\Model|null): mixed $callback
680
* @return static
681
*/
682
public function afterCreating(Closure $callback)
0 commit comments