diff options
Diffstat (limited to 'src/Utils/Error.php')
-rw-r--r-- | src/Utils/Error.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Utils/Error.php b/src/Utils/Error.php index af9706f..d0f82ed 100644 --- a/src/Utils/Error.php +++ b/src/Utils/Error.php @@ -1,8 +1,8 @@ <?php - /** * Error related utilities. */ +declare(strict_types=1); namespace PhpMyAdmin\SqlParser\Utils; @@ -86,7 +86,7 @@ class Error ++$i, $err[0], $err[1], - htmlspecialchars($err[2]), + htmlspecialchars((string) $err[2]), $err[3] ); } |