diff options
Diffstat (limited to 'src/Statements/TransactionStatement.php')
-rw-r--r-- | src/Statements/TransactionStatement.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Statements/TransactionStatement.php b/src/Statements/TransactionStatement.php index c2bb303..cfdc25c 100644 --- a/src/Statements/TransactionStatement.php +++ b/src/Statements/TransactionStatement.php @@ -82,12 +82,12 @@ class TransactionStatement extends Statement parent::parse($parser, $list); // Checks the type of this query. - if (($this->options->has('START TRANSACTION')) - || ($this->options->has('BEGIN')) + if ($this->options->has('START TRANSACTION') + || $this->options->has('BEGIN') ) { $this->type = self::TYPE_BEGIN; - } elseif (($this->options->has('COMMIT')) - || ($this->options->has('ROLLBACK')) + } elseif ($this->options->has('COMMIT') + || $this->options->has('ROLLBACK') ) { $this->type = self::TYPE_END; } |