composer update

This commit is contained in:
2019-07-02 01:51:56 +00:00
parent b4a728213d
commit ebb41422f3
616 changed files with 14708 additions and 612 deletions

View File

@@ -32,9 +32,9 @@ class ImmutableEventDispatcher implements EventDispatcherInterface
*/
public function dispatch($event/*, string $eventName = null*/)
{
$eventName = 1 < \func_num_args() ? \func_get_arg(1) : null;
$eventName = 1 < \func_num_args() ? func_get_arg(1) : null;
if (\is_scalar($event)) {
if (is_scalar($event)) {
// deprecated
$swap = $event;
$event = $eventName ?? new Event();