summaryrefslogtreecommitdiffstats
path: root/src/Components
diff options
context:
space:
mode:
authorDan Ungureanu <udan1107@gmail.com>2015-08-11 21:25:43 +0300
committerDan Ungureanu <udan1107@gmail.com>2015-08-11 21:25:43 +0300
commit685d8027d8feed78e6ff89a05db85b2c848371cc (patch)
treefdece64402371abd7d69e2baf9535db0f4814325 /src/Components
parentcb3d5408fc8a9e973542d19ae3013725ac9727c2 (diff)
downloadsql-parser-685d8027d8feed78e6ff89a05db85b2c848371cc.zip
sql-parser-685d8027d8feed78e6ff89a05db85b2c848371cc.tar.gz
sql-parser-685d8027d8feed78e6ff89a05db85b2c848371cc.tar.bz2
Coding style fixes.
Diffstat (limited to 'src/Components')
-rw-r--r--src/Components/JoinKeyword.php2
-rw-r--r--src/Components/OptionsArray.php8
2 files changed, 5 insertions, 5 deletions
diff --git a/src/Components/JoinKeyword.php b/src/Components/JoinKeyword.php
index a647dcd..171ad98 100644
--- a/src/Components/JoinKeyword.php
+++ b/src/Components/JoinKeyword.php
@@ -71,7 +71,7 @@ class JoinKeyword extends Component
{
$ret = array();
- $expr = new JoinKeyword();;
+ $expr = new JoinKeyword();
/**
* The state of the parser.
diff --git a/src/Components/OptionsArray.php b/src/Components/OptionsArray.php
index 0e86326..da2ec8d 100644
--- a/src/Components/OptionsArray.php
+++ b/src/Components/OptionsArray.php
@@ -55,10 +55,10 @@ class OptionsArray extends Component
{
$ret = new OptionsArray();
- /**
- * The ID that will be assigned to duplicate options.
- * @var int $lastAssignedId
- */
+ /**
+ * The ID that will be assigned to duplicate options.
+ * @var int $lastAssignedId
+ */
$lastAssignedId = count($options) + 1;
/**