PHPStorm noinspection comment

(variable is used in prepared statement)
This commit is contained in:
Steffen Schröder 2013-12-14 23:32:01 +01:00
parent 5a03deee5b
commit d29489a4ce

View File

@ -86,6 +86,7 @@ class AuthenticationManager {
$adminStatement->bind_param('si', $login, $xAdminLevel); $adminStatement->bind_param('si', $login, $xAdminLevel);
$success = true; $success = true;
foreach ($xAdmins as $xAdmin) { foreach ($xAdmins as $xAdmin) {
/** @noinspection PhpUnusedLocalVariableInspection */
$login = (string) $xAdmin; $login = (string) $xAdmin;
$adminStatement->execute(); $adminStatement->execute();
if ($adminStatement->error) { if ($adminStatement->error) {