summaryrefslogtreecommitdiffstats
path: root/src/TokensList.php
diff options
context:
space:
mode:
authorWilliam Desportes <williamdes@wdes.fr>2019-05-28 13:00:00 +0200
committerWilliam Desportes <williamdes@wdes.fr>2019-05-28 15:08:32 +0200
commit5d5089a259d0195c4a1e4aa3588c31c839954067 (patch)
tree645dab617127089baadcf5e3eed95e0f21a5b46c /src/TokensList.php
parent724b2330dc4cb6247aa1649cc1f49fce496f2e3c (diff)
downloadsql-parser-5d5089a259d0195c4a1e4aa3588c31c839954067.zip
sql-parser-5d5089a259d0195c4a1e4aa3588c31c839954067.tar.gz
sql-parser-5d5089a259d0195c4a1e4aa3588c31c839954067.tar.bz2
Revert array syntax
See: 86c5baebda24c1721fb6881df8671a3c7df60e8b Signed-off-by: William Desportes <williamdes@wdes.fr>
Diffstat (limited to 'src/TokensList.php')
-rw-r--r--src/TokensList.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/TokensList.php b/src/TokensList.php
index 507d68b..32b4819 100644
--- a/src/TokensList.php
+++ b/src/TokensList.php
@@ -20,7 +20,7 @@ class TokensList implements \ArrayAccess
*
* @var array
*/
- public $tokens = [];
+ public $tokens = array();
/**
* The count of tokens.
@@ -42,7 +42,7 @@ class TokensList implements \ArrayAccess
* @param array $tokens the initial array of tokens
* @param int $count the count of tokens in the initial array
*/
- public function __construct(array $tokens = [], $count = -1)
+ public function __construct(array $tokens = array(), $count = -1)
{
if (! empty($tokens)) {
$this->tokens = $tokens;