Skip to content

Commit 56f580b

Browse files
authored
Merge pull request #4 from DimmmCom/patch-2
Incorrect behavior of the "removeSystemEvents" method
2 parents 3a137e7 + fd85291 commit 56f580b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Server.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,7 @@ public function getSessionStorage(): SessionStorageInterface
438438

439439
public function removeSystemEvents(string $name): void
440440
{
441-
unset($this->serverEvents, $name);
441+
unset($this->serverEvents[$name]);
442442
}
443443

444444
public function setSystemEvents(string $name, callable $callable): void

0 commit comments

Comments
 (0)