mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-06-20 20:05:42 +02:00
fix: bug in prior refactor (#4239)
This commit is contained in:
parent
58544cd61a
commit
e7ae06dcf0
1 changed files with 4 additions and 2 deletions
|
@ -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)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue