mirror of
https://github.com/php-flasher/php-flasher.git
synced 2026-03-31 23:17:47 +01:00
call_user_func
This commit is contained in:
@@ -113,7 +113,7 @@ jobs:
|
||||
ini-values: memory_limit=-1
|
||||
coverage: none
|
||||
|
||||
- name: Install dependencies
|
||||
- name: Install dependenciesEventDispatcher
|
||||
run: |
|
||||
composer require "laravel/framework:${{ matrix.laravel }}" "phpunit/phpunit:${{ matrix.phpunit }}" "orchestra/testbench:${{ matrix.testbench }}" monolog/monolog --no-interaction --no-update
|
||||
composer update --prefer-dist --no-interaction --no-suggest
|
||||
|
||||
@@ -98,7 +98,7 @@ final class EventDispatcher implements EventDispatcherInterface
|
||||
if ($event instanceof StoppableEventInterface && $event->isPropagationStopped()) {
|
||||
break;
|
||||
}
|
||||
$listener($event, $this);
|
||||
call_user_func($listener, $event, $this);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user