Skip to content

Commit 16178c6

Browse files
CS fixes
1 parent 708e761 commit 16178c6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ImmutableEventDispatcher.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,11 @@ public function __construct(EventDispatcherInterface $dispatcher)
3030
*
3131
* @param string|null $eventName
3232
*/
33-
public function dispatch($event/*, string $eventName = null*/)
33+
public function dispatch($event/*, string $eventName = null */)
3434
{
3535
$eventName = 1 < \func_num_args() ? func_get_arg(1) : null;
3636

37-
if (is_scalar($event)) {
37+
if (\is_scalar($event)) {
3838
// deprecated
3939
$swap = $event;
4040
$event = $eventName ?? new Event();

0 commit comments

Comments
 (0)