@@ -183,7 +183,7 @@ public function removeObservableEvents($observables)
183183 * Register a model event with the dispatcher.
184184 *
185185 * @param string $event
186- * @param \Illuminate\Events\QueuedClosure|\Closure|string| array $callback
186+ * @param \Illuminate\Events\QueuedClosure|callable| array|class-string $callback
187187 * @return void
188188 */
189189 protected static function registerModelEvent ($ event , $ callback )
@@ -266,7 +266,7 @@ protected function filterModelEventResults($result)
266266 /**
267267 * Register a retrieved model event with the dispatcher.
268268 *
269- * @param \Illuminate\Events\QueuedClosure|\Closure|string| array $callback
269+ * @param \Illuminate\Events\QueuedClosure|callable| array|class-string $callback
270270 * @return void
271271 */
272272 public static function retrieved ($ callback )
@@ -277,7 +277,7 @@ public static function retrieved($callback)
277277 /**
278278 * Register a saving model event with the dispatcher.
279279 *
280- * @param \Illuminate\Events\QueuedClosure|\Closure|string| array $callback
280+ * @param \Illuminate\Events\QueuedClosure|callable| array|class-string $callback
281281 * @return void
282282 */
283283 public static function saving ($ callback )
@@ -288,7 +288,7 @@ public static function saving($callback)
288288 /**
289289 * Register a saved model event with the dispatcher.
290290 *
291- * @param \Illuminate\Events\QueuedClosure|\Closure|string| array $callback
291+ * @param \Illuminate\Events\QueuedClosure|callable| array|class-string $callback
292292 * @return void
293293 */
294294 public static function saved ($ callback )
@@ -299,7 +299,7 @@ public static function saved($callback)
299299 /**
300300 * Register an updating model event with the dispatcher.
301301 *
302- * @param \Illuminate\Events\QueuedClosure|\Closure|string| array $callback
302+ * @param \Illuminate\Events\QueuedClosure|callable| array|class-string $callback
303303 * @return void
304304 */
305305 public static function updating ($ callback )
@@ -310,7 +310,7 @@ public static function updating($callback)
310310 /**
311311 * Register an updated model event with the dispatcher.
312312 *
313- * @param \Illuminate\Events\QueuedClosure|\Closure|string| array $callback
313+ * @param \Illuminate\Events\QueuedClosure|callable| array|class-string $callback
314314 * @return void
315315 */
316316 public static function updated ($ callback )
@@ -321,7 +321,7 @@ public static function updated($callback)
321321 /**
322322 * Register a creating model event with the dispatcher.
323323 *
324- * @param \Illuminate\Events\QueuedClosure|\Closure|string| array $callback
324+ * @param \Illuminate\Events\QueuedClosure|callable| array|class-string $callback
325325 * @return void
326326 */
327327 public static function creating ($ callback )
@@ -332,7 +332,7 @@ public static function creating($callback)
332332 /**
333333 * Register a created model event with the dispatcher.
334334 *
335- * @param \Illuminate\Events\QueuedClosure|\Closure|string| array $callback
335+ * @param \Illuminate\Events\QueuedClosure|callable| array|class-string $callback
336336 * @return void
337337 */
338338 public static function created ($ callback )
@@ -343,7 +343,7 @@ public static function created($callback)
343343 /**
344344 * Register a replicating model event with the dispatcher.
345345 *
346- * @param \Illuminate\Events\QueuedClosure|\Closure|string| array $callback
346+ * @param \Illuminate\Events\QueuedClosure|callable| array|class-string $callback
347347 * @return void
348348 */
349349 public static function replicating ($ callback )
@@ -354,7 +354,7 @@ public static function replicating($callback)
354354 /**
355355 * Register a deleting model event with the dispatcher.
356356 *
357- * @param \Illuminate\Events\QueuedClosure|\Closure|string| array $callback
357+ * @param \Illuminate\Events\QueuedClosure|callable| array|class-string $callback
358358 * @return void
359359 */
360360 public static function deleting ($ callback )
@@ -365,7 +365,7 @@ public static function deleting($callback)
365365 /**
366366 * Register a deleted model event with the dispatcher.
367367 *
368- * @param \Illuminate\Events\QueuedClosure|\Closure|string| array $callback
368+ * @param \Illuminate\Events\QueuedClosure|callable| array|class-string $callback
369369 * @return void
370370 */
371371 public static function deleted ($ callback )
0 commit comments