@@ -183,7 +183,7 @@ public function removeObservableEvents($observables)
183
183
* Register a model event with the dispatcher.
184
184
*
185
185
* @param string $event
186
- * @param \Illuminate\Events\QueuedClosure|\Closure|string| array $callback
186
+ * @param \Illuminate\Events\QueuedClosure|callable| array|class-string $callback
187
187
* @return void
188
188
*/
189
189
protected static function registerModelEvent ($ event , $ callback )
@@ -266,7 +266,7 @@ protected function filterModelEventResults($result)
266
266
/**
267
267
* Register a retrieved model event with the dispatcher.
268
268
*
269
- * @param \Illuminate\Events\QueuedClosure|\Closure|string| array $callback
269
+ * @param \Illuminate\Events\QueuedClosure|callable| array|class-string $callback
270
270
* @return void
271
271
*/
272
272
public static function retrieved ($ callback )
@@ -277,7 +277,7 @@ public static function retrieved($callback)
277
277
/**
278
278
* Register a saving model event with the dispatcher.
279
279
*
280
- * @param \Illuminate\Events\QueuedClosure|\Closure|string| array $callback
280
+ * @param \Illuminate\Events\QueuedClosure|callable| array|class-string $callback
281
281
* @return void
282
282
*/
283
283
public static function saving ($ callback )
@@ -288,7 +288,7 @@ public static function saving($callback)
288
288
/**
289
289
* Register a saved model event with the dispatcher.
290
290
*
291
- * @param \Illuminate\Events\QueuedClosure|\Closure|string| array $callback
291
+ * @param \Illuminate\Events\QueuedClosure|callable| array|class-string $callback
292
292
* @return void
293
293
*/
294
294
public static function saved ($ callback )
@@ -299,7 +299,7 @@ public static function saved($callback)
299
299
/**
300
300
* Register an updating model event with the dispatcher.
301
301
*
302
- * @param \Illuminate\Events\QueuedClosure|\Closure|string| array $callback
302
+ * @param \Illuminate\Events\QueuedClosure|callable| array|class-string $callback
303
303
* @return void
304
304
*/
305
305
public static function updating ($ callback )
@@ -310,7 +310,7 @@ public static function updating($callback)
310
310
/**
311
311
* Register an updated model event with the dispatcher.
312
312
*
313
- * @param \Illuminate\Events\QueuedClosure|\Closure|string| array $callback
313
+ * @param \Illuminate\Events\QueuedClosure|callable| array|class-string $callback
314
314
* @return void
315
315
*/
316
316
public static function updated ($ callback )
@@ -321,7 +321,7 @@ public static function updated($callback)
321
321
/**
322
322
* Register a creating model event with the dispatcher.
323
323
*
324
- * @param \Illuminate\Events\QueuedClosure|\Closure|string| array $callback
324
+ * @param \Illuminate\Events\QueuedClosure|callable| array|class-string $callback
325
325
* @return void
326
326
*/
327
327
public static function creating ($ callback )
@@ -332,7 +332,7 @@ public static function creating($callback)
332
332
/**
333
333
* Register a created model event with the dispatcher.
334
334
*
335
- * @param \Illuminate\Events\QueuedClosure|\Closure|string| array $callback
335
+ * @param \Illuminate\Events\QueuedClosure|callable| array|class-string $callback
336
336
* @return void
337
337
*/
338
338
public static function created ($ callback )
@@ -343,7 +343,7 @@ public static function created($callback)
343
343
/**
344
344
* Register a replicating model event with the dispatcher.
345
345
*
346
- * @param \Illuminate\Events\QueuedClosure|\Closure|string| array $callback
346
+ * @param \Illuminate\Events\QueuedClosure|callable| array|class-string $callback
347
347
* @return void
348
348
*/
349
349
public static function replicating ($ callback )
@@ -354,7 +354,7 @@ public static function replicating($callback)
354
354
/**
355
355
* Register a deleting model event with the dispatcher.
356
356
*
357
- * @param \Illuminate\Events\QueuedClosure|\Closure|string| array $callback
357
+ * @param \Illuminate\Events\QueuedClosure|callable| array|class-string $callback
358
358
* @return void
359
359
*/
360
360
public static function deleting ($ callback )
@@ -365,7 +365,7 @@ public static function deleting($callback)
365
365
/**
366
366
* Register a deleted model event with the dispatcher.
367
367
*
368
- * @param \Illuminate\Events\QueuedClosure|\Closure|string| array $callback
368
+ * @param \Illuminate\Events\QueuedClosure|callable| array|class-string $callback
369
369
* @return void
370
370
*/
371
371
public static function deleted ($ callback )
0 commit comments