summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Components/OptionsArray.php4
-rw-r--r--src/Statements/InsertStatement.php3
2 files changed, 4 insertions, 3 deletions
diff --git a/src/Components/OptionsArray.php b/src/Components/OptionsArray.php
index 42f0762..229b350 100644
--- a/src/Components/OptionsArray.php
+++ b/src/Components/OptionsArray.php
@@ -146,8 +146,8 @@ class OptionsArray extends Component
sprintf(
__('This option conflicts with "%1$s".'),
is_array($ret->options[$lastOptionId])
- ? $ret->options[$lastOptionId]['name']
- : $ret->options[$lastOptionId]
+ ? $ret->options[$lastOptionId]['name']
+ : $ret->options[$lastOptionId]
),
$token
);
diff --git a/src/Statements/InsertStatement.php b/src/Statements/InsertStatement.php
index ce11de3..c2a02b0 100644
--- a/src/Statements/InsertStatement.php
+++ b/src/Statements/InsertStatement.php
@@ -84,7 +84,8 @@ class InsertStatement extends Statement
/**
* @return string
*/
- public function build() {
+ public function build()
+ {
return 'INSERT ' . $this->options
. ' INTO ' . $this->into
. ' VALUES ' . ArrayObj::build($this->values);