From 30581a2892a31bd62fe74a8566b121f9ee7f6a9b Mon Sep 17 00:00:00 2001 From: Dag Date: Thu, 29 Aug 2024 23:00:27 +0200 Subject: [PATCH] fix: bug in prior refactor --- lib/Container.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/Container.php b/lib/Container.php index 6dd0b6d32d0..086bd1f6ce7 100644 --- a/lib/Container.php +++ b/lib/Container.php @@ -12,7 +12,8 @@ public function offsetSet($offset, $value): void $this->values[$offset] = $value; } - #[ReturnTypeWillChange] public function offsetGet($offset) + #[\ReturnTypeWillChange] + public function offsetGet($offset) { if (!isset($this->values[$offset])) { throw new \Exception(sprintf('Unknown container key: "%s"', $offset)); @@ -23,7 +24,8 @@ public function offsetSet($offset, $value): void return $this->resolved[$offset]; } - #[ReturnTypeWillChange] public function offsetExists($offset) + #[\ReturnTypeWillChange] + public function offsetExists($offset) { }