diff options
author | Maurício Meneghini Fauth <mauricio@fauth.dev> | 2019-12-14 11:21:45 -0300 |
---|---|---|
committer | Maurício Meneghini Fauth <mauricio@fauth.dev> | 2019-12-14 11:21:45 -0300 |
commit | dac2971cef5b6c71a4a52a81e116942cea704653 (patch) | |
tree | af2e1475eb1e2fde6977164b3e69cb8ef8c933a1 /src/Components/Key.php | |
parent | 9d3d3b3e39162a8b5329e7a446b2f359b6e99c9d (diff) | |
download | sql-parser-dac2971cef5b6c71a4a52a81e116942cea704653.zip sql-parser-dac2971cef5b6c71a4a52a81e116942cea704653.tar.gz sql-parser-dac2971cef5b6c71a4a52a81e116942cea704653.tar.bz2 |
Remove useless parentheses
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
Diffstat (limited to 'src/Components/Key.php')
-rw-r--r-- | src/Components/Key.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Components/Key.php b/src/Components/Key.php index b924c87..92c25ee 100644 --- a/src/Components/Key.php +++ b/src/Components/Key.php @@ -161,7 +161,7 @@ class Key extends Component if ($token->value === '(') { $state = 3; } elseif (($token->value === ',') || ($token->value === ')')) { - $state = ($token->value === ',') ? 2 : 4; + $state = $token->value === ',' ? 2 : 4; if (! empty($lastColumn)) { $ret->columns[] = $lastColumn; $lastColumn = []; |