From d29489a4cebfa31fe6fa3f7ad56a2506e42d8544 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Steffen=20Schro=CC=88der?= Date: Sat, 14 Dec 2013 23:32:01 +0100 Subject: [PATCH] PHPStorm noinspection comment (variable is used in prepared statement) --- application/core/Admin/AuthenticationManager.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/application/core/Admin/AuthenticationManager.php b/application/core/Admin/AuthenticationManager.php index d59f5171..bb9f48b2 100644 --- a/application/core/Admin/AuthenticationManager.php +++ b/application/core/Admin/AuthenticationManager.php @@ -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);