diff --git a/src/Illuminate/Database/Eloquent/Model.php b/src/Illuminate/Database/Eloquent/Model.php index 9ebec52cfd42..3949be243367 100644 --- a/src/Illuminate/Database/Eloquent/Model.php +++ b/src/Illuminate/Database/Eloquent/Model.php @@ -215,7 +215,7 @@ abstract class Model implements Arrayable, ArrayAccess, CanBeEscapedWhenCastToSt /** * The callback that is responsible for handling discarded attribute violations. * - * @var callable|null + * @var (callable(self, array))|null */ protected static $discardedAttributeViolationCallback; @@ -548,7 +548,7 @@ public static function preventSilentlyDiscardingAttributes($value = true) /** * Register a callback that is responsible for handling discarded attribute violations. * - * @param callable|null $callback + * @param (callable(self, array))|null $callback * @return void */ public static function handleDiscardedAttributeViolationUsing(?callable $callback)