PHPStorm noinspection comment
(variable is used in prepared statement)
This commit is contained in:
parent
5a03deee5b
commit
d29489a4ce
@ -86,7 +86,8 @@ class AuthenticationManager {
|
||||
$adminStatement->bind_param('si', $login, $xAdminLevel);
|
||||
$success = true;
|
||||
foreach ($xAdmins as $xAdmin) {
|
||||
$login = (string) $xAdmin;
|
||||
/** @noinspection PhpUnusedLocalVariableInspection */
|
||||
$login = (string) $xAdmin;
|
||||
$adminStatement->execute();
|
||||
if ($adminStatement->error) {
|
||||
trigger_error($adminStatement->error);
|
||||
|
Loading…
Reference in New Issue
Block a user