[ticket/17176] Remove use statement

PHPBB3-17176
This commit is contained in:
Marc Alexander 2023-08-19 22:19:04 +02:00
parent abd29e96b5
commit fccb5ff781
No known key found for this signature in database
GPG key ID: 50E0D2423696F995

View file

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