diff options
Diffstat (limited to 'lib/private/EventDispatcher/GenericEventWrapper.php')
-rw-r--r-- | lib/private/EventDispatcher/GenericEventWrapper.php | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/lib/private/EventDispatcher/GenericEventWrapper.php b/lib/private/EventDispatcher/GenericEventWrapper.php index 55e23d2ff7f..3574bc8bb83 100644 --- a/lib/private/EventDispatcher/GenericEventWrapper.php +++ b/lib/private/EventDispatcher/GenericEventWrapper.php @@ -100,19 +100,23 @@ class GenericEventWrapper extends GenericEvent { return $this->event->hasArgument($key); } + /** + * @return mixed + */ + #[\ReturnTypeWillChange] public function offsetGet($key) { return $this->event->offsetGet($key); } - public function offsetSet($key, $value) { - return $this->event->offsetSet($key, $value); + public function offsetSet($key, $value): void { + $this->event->offsetSet($key, $value); } - public function offsetUnset($key) { - return $this->event->offsetUnset($key); + public function offsetUnset($key): void { + $this->event->offsetUnset($key); } - public function offsetExists($key) { + public function offsetExists($key): bool { return $this->event->offsetExists($key); } |