Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix incorrect type in phpdoc params #383

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/PHPSQLParser/PHPSQLParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand All @@ -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.
Expand All @@ -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
*/
Expand All @@ -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
*/
Expand Down