1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-01-16 13:50:01 +01:00

fix: bug in prior refactor (#4239)

This commit is contained in:
Dag 2024-08-29 23:02:01 +02:00 committed by GitHub
parent 58544cd61a
commit e7ae06dcf0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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)
{
}