Skip to content

Commit 567e3e2

Browse files
Add more nullsafe operators
1 parent 2258a84 commit 567e3e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ContainerAwareEventManager.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public function dispatchEvent($eventName, EventArgs $eventArgs = null): void
5656
return;
5757
}
5858

59-
$eventArgs = $eventArgs ?? EventArgs::getEmptyInstance();
59+
$eventArgs ??= EventArgs::getEmptyInstance();
6060

6161
if (!isset($this->initialized[$eventName])) {
6262
$this->initializeListeners($eventName);

0 commit comments

Comments
 (0)