mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-10 18:54:08 +02:00
[ticket/17176] Resolve deprecation notices
PHPBB3-17176
This commit is contained in:
@@ -17,25 +17,25 @@
|
||||
*/
|
||||
class phpbb_mock_lang implements ArrayAccess
|
||||
{
|
||||
public function offsetExists($offset)
|
||||
public function offsetExists($offset): bool
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
public function offsetGet($offset)
|
||||
public function offsetGet($offset): mixed
|
||||
{
|
||||
return $offset;
|
||||
}
|
||||
|
||||
public function offsetSet($offset, $value)
|
||||
public function offsetSet($offset, $value): void
|
||||
{
|
||||
}
|
||||
|
||||
public function offsetUnset($offset)
|
||||
public function offsetUnset($offset): void
|
||||
{
|
||||
}
|
||||
|
||||
public function lang()
|
||||
public function lang(): string
|
||||
{
|
||||
return implode(' ', func_get_args());
|
||||
}
|
||||
|
Reference in New Issue
Block a user