diff --git a/var/Typecho/Config.php b/var/Typecho/Config.php index d0cd705a..cc1e8829 100644 --- a/var/Typecho/Config.php +++ b/var/Typecho/Config.php @@ -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;