aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/Container.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/Container.php b/lib/Container.php
index 6dd0b6d3..086bd1f6 100644
--- a/lib/Container.php
+++ b/lib/Container.php
@@ -12,7 +12,8 @@ class Container implements \ArrayAccess
$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 @@ class Container implements \ArrayAccess
return $this->resolved[$offset];
}
- #[ReturnTypeWillChange] public function offsetExists($offset)
+ #[\ReturnTypeWillChange]
+ public function offsetExists($offset)
{
}