This is the correct way:

<?php
if (!isset($foo['account_removed) || $foo['account_removed'])
?>
This commit is contained in:
Roland Häder 2022-07-19 18:06:36 +02:00
parent 4e5179a7b3
commit cf8698afe6
No known key found for this signature in database
GPG key ID: C82EDE5DDFA0BA77
3 changed files with 3 additions and 3 deletions

View file

@ -310,7 +310,7 @@ HELP;
* @return bool True, if the delete was successful
* @throws \Exception
*/
private function deleteUser()
private function deleteUser(): bool
{
$user = $this->getUserByNick(1);