summaryrefslogtreecommitdiffstats
path: root/src/Statements
diff options
context:
space:
mode:
Diffstat (limited to 'src/Statements')
-rw-r--r--src/Statements/AlterStatement.php6
-rw-r--r--src/Statements/CreateStatement.php2
-rw-r--r--src/Statements/LockStatement.php2
-rw-r--r--src/Statements/NotImplementedStatement.php2
-rw-r--r--src/Statements/SelectStatement.php6
5 files changed, 9 insertions, 9 deletions
diff --git a/src/Statements/AlterStatement.php b/src/Statements/AlterStatement.php
index 0620936..0991532 100644
--- a/src/Statements/AlterStatement.php
+++ b/src/Statements/AlterStatement.php
@@ -35,7 +35,7 @@ class AlterStatement extends Statement
*
* @var AlterOperation[]
*/
- public $altered = [];
+ public $altered = array();
/**
* Options of this statement.
@@ -114,7 +114,7 @@ class AlterStatement extends Statement
}
if ($state === 0) {
- $options = [];
+ $options = array();
if ($this->options->has('DATABASE')) {
$options = AlterOperation::$DB_OPTIONS;
} elseif ($this->options->has('TABLE')) {
@@ -138,7 +138,7 @@ class AlterStatement extends Statement
*/
public function build()
{
- $tmp = [];
+ $tmp = array();
foreach ($this->altered as $altered) {
$tmp[] = $altered::build($altered);
}
diff --git a/src/Statements/CreateStatement.php b/src/Statements/CreateStatement.php
index ffa08bc..3d019ef 100644
--- a/src/Statements/CreateStatement.php
+++ b/src/Statements/CreateStatement.php
@@ -367,7 +367,7 @@ class CreateStatement extends Statement
*
* @var Token[]|string
*/
- public $body = [];
+ public $body = array();
/**
* @return string
diff --git a/src/Statements/LockStatement.php b/src/Statements/LockStatement.php
index 0166dca..19e6eb4 100644
--- a/src/Statements/LockStatement.php
+++ b/src/Statements/LockStatement.php
@@ -26,7 +26,7 @@ class LockStatement extends Statement
*
* @var LockExpression[]
*/
- public $locked = [];
+ public $locked = array();
/**
* Whether it's a LOCK statement
diff --git a/src/Statements/NotImplementedStatement.php b/src/Statements/NotImplementedStatement.php
index 254ca15..67c1bea 100644
--- a/src/Statements/NotImplementedStatement.php
+++ b/src/Statements/NotImplementedStatement.php
@@ -27,7 +27,7 @@ class NotImplementedStatement extends Statement
*
* @var Token[]
*/
- public $unknown = [];
+ public $unknown = array();
/**
* @return string
diff --git a/src/Statements/SelectStatement.php b/src/Statements/SelectStatement.php
index a770227..a206b54 100644
--- a/src/Statements/SelectStatement.php
+++ b/src/Statements/SelectStatement.php
@@ -226,14 +226,14 @@ class SelectStatement extends Statement
*
* @var Expression[]
*/
- public $expr = [];
+ public $expr = array();
/**
* Tables used as sources for this statement.
*
* @var Expression[]
*/
- public $from = [];
+ public $from = array();
/**
* Index hints
@@ -310,7 +310,7 @@ class SelectStatement extends Statement
*
* @var SelectStatement[]
*/
- public $union = [];
+ public $union = array();
/**
* The end options of this query.