mirror of
https://github.com/itflow-org/itflow
synced 2026-08-20 14:35:12 +00:00
Allow PHP-8.2 and up Compatibility instead of just PHP-8.4
This commit is contained in:
@@ -12,7 +12,7 @@ use Illuminate\Support\Testing\Fakes\EventFake;
|
||||
* @method static void push(string $event, object|array $payload = [])
|
||||
* @method static void flush(string $event)
|
||||
* @method static void subscribe(object|string $subscriber)
|
||||
* @method static mixed until(string|object $event, mixed $payload = [])
|
||||
* @method static array|null until(string|object $event, mixed $payload = [])
|
||||
* @method static array|null dispatch(string|object $event, mixed $payload = [], bool $halt = false)
|
||||
* @method static array getListeners(string $eventName)
|
||||
* @method static \Closure makeListener(\Closure|string|array $listener, bool $wildcard = false)
|
||||
@@ -21,7 +21,7 @@ use Illuminate\Support\Testing\Fakes\EventFake;
|
||||
* @method static void forgetPushed()
|
||||
* @method static \Illuminate\Events\Dispatcher setQueueResolver(callable $resolver)
|
||||
* @method static \Illuminate\Events\Dispatcher setTransactionManagerResolver(callable $resolver)
|
||||
* @method static mixed defer(callable $callback, array|null $events = null)
|
||||
* @method static mixed defer(callable $callback, string[]|null $events = null)
|
||||
* @method static array getRawListeners()
|
||||
* @method static void macro(string $name, object|callable $macro)
|
||||
* @method static void mixin(object $mixin, bool $replace = true)
|
||||
@@ -30,7 +30,7 @@ use Illuminate\Support\Testing\Fakes\EventFake;
|
||||
* @method static \Illuminate\Support\Testing\Fakes\EventFake except(array|string $eventsToDispatch)
|
||||
* @method static void assertListening(string $expectedEvent, string|array $expectedListener)
|
||||
* @method static void assertDispatched(string|\Closure $event, callable|int|null $callback = null)
|
||||
* @method static void assertDispatchedOnce(string $event, int $times = null)
|
||||
* @method static void assertDispatchedOnce(string $event)
|
||||
* @method static void assertDispatchedTimes(string $event, int $times = 1)
|
||||
* @method static void assertNotDispatched(string|\Closure $event, callable|null $callback = null)
|
||||
* @method static void assertNothingDispatched()
|
||||
|
||||
Reference in New Issue
Block a user