1
0
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:
Marc Alexander
2023-08-19 22:05:37 +02:00
parent daf30b89f1
commit abd29e96b5
22 changed files with 57 additions and 54 deletions

View File

@@ -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());
}