@@ -102,6 +102,7 @@ class Config implements \Iterator, \ArrayAccess
|
||||
* @access public
|
||||
* @return mixed
|
||||
*/
|
||||
#[\ReturnTypeWillChange]
|
||||
public function current()
|
||||
{
|
||||
return current($this->currentConfig);
|
||||
@@ -124,6 +125,7 @@ class Config implements \Iterator, \ArrayAccess
|
||||
* @access public
|
||||
* @return mixed
|
||||
*/
|
||||
#[\ReturnTypeWillChange]
|
||||
public function key()
|
||||
{
|
||||
return key($this->currentConfig);
|
||||
@@ -222,6 +224,7 @@ class Config implements \Iterator, \ArrayAccess
|
||||
* @param mixed $offset
|
||||
* @return mixed
|
||||
*/
|
||||
#[\ReturnTypeWillChange]
|
||||
public function offsetGet($offset)
|
||||
{
|
||||
return $this->currentConfig[$offset] ?? null;
|
||||
|
||||
Reference in New Issue
Block a user