From 4f38a5f3aa8868a6ba5e78c0fd086bf76343076c Mon Sep 17 00:00:00 2001 From: invisnet Date: Tue, 12 Mar 2024 13:49:45 +0000 Subject: [PATCH] Change String to string PHPStan reports "Use of unknown class: 'PHPSQLParser\String'" --- src/PHPSQLParser/PHPSQLParser.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/PHPSQLParser/PHPSQLParser.php b/src/PHPSQLParser/PHPSQLParser.php index 03b5d833..22de0a9f 100644 --- a/src/PHPSQLParser/PHPSQLParser.php +++ b/src/PHPSQLParser/PHPSQLParser.php @@ -64,7 +64,7 @@ class PHPSQLParser { * Constructor. It simply calls the parse() function. * Use the public variable $parsed to get the output. * - * @param String|bool $sql The SQL statement. + * @param string|bool $sql The SQL statement. * @param bool $calcPositions True, if the output should contain [position], false otherwise. * @param array $options */ @@ -84,7 +84,7 @@ public function __construct($sql = false, $calcPositions = false, array $options * of the positions needs some time, if you don't need positions in * your application, set the parameter to false. * - * @param String $sql The SQL statement. + * @param string $sql The SQL statement. * @param boolean $calcPositions True, if the output should contain [position], false otherwise. * * @return array An associative array with all meta information about the SQL statement. @@ -108,7 +108,7 @@ public function parse($sql, $calcPositions = false) { /** * Add a custom function to the parser. no return value * - * @param String $token The name of the function to add + * @param string $token The name of the function to add * * @return null */ @@ -119,7 +119,7 @@ public function addCustomFunction($token) { /** * Remove a custom function from the parser. no return value * - * @param String $token The name of the function to remove + * @param string $token The name of the function to remove * * @return null */