Skip to content

Commit

Permalink
OC\EventDispatcher\GenericEventWrapper:: Fix type error
Browse files Browse the repository at this point in the history
  • Loading branch information
wonderfulShrineMaidenOfParadise committed Nov 16, 2021
1 parent 6ea81dd commit 710f7d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/private/EventDispatcher/GenericEventWrapper.php
Expand Up @@ -80,7 +80,7 @@ public function getSubject() {

public function getArgument($key) {
$this->log();
return $this->event->getArgument($key);
return $this->event->getArgument((string)$key);
}

public function setArgument($key, $value) {
Expand Down

0 comments on commit 710f7d6

Please sign in to comment.