mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 04:18:52 +00:00
[ticket/17176] Remove use statement
PHPBB3-17176
This commit is contained in:
parent
abd29e96b5
commit
fccb5ff781
1 changed files with 1 additions and 3 deletions
|
@ -13,8 +13,6 @@
|
|||
|
||||
namespace phpbb\request;
|
||||
|
||||
use ReturnTypeWillChange;
|
||||
|
||||
/**
|
||||
* Replacement for a superglobal (like $_GET or $_POST) which calls
|
||||
* trigger_error on all operations but isset, overloads the [] operator with SPL.
|
||||
|
@ -115,7 +113,7 @@ class deactivated_super_global implements \ArrayAccess, \Countable, \IteratorAgg
|
|||
* @return void
|
||||
* @psalm-suppress InvalidReturnType
|
||||
*/
|
||||
#[ReturnTypeWillChange] public function getIterator(): void
|
||||
#[\ReturnTypeWillChange] public function getIterator(): void
|
||||
{
|
||||
$this->error();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue