summaryrefslogtreecommitdiffstats
path: root/tests/Components/FunctionCallTest.php
diff options
context:
space:
mode:
authorWilliam Desportes <williamdes@wdes.fr>2019-05-29 12:50:08 +0200
committerWilliam Desportes <williamdes@wdes.fr>2019-05-29 12:51:45 +0200
commit92e97d6234645e65bfafcf4b53d98838e57f2d44 (patch)
tree70474f190be4af52daac8d2ac1b237645242b9f5 /tests/Components/FunctionCallTest.php
parentbb6a2b0435ad64c02bd26768f0fddddd2fb27ffe (diff)
downloadsql-parser-92e97d6234645e65bfafcf4b53d98838e57f2d44.zip
sql-parser-92e97d6234645e65bfafcf4b53d98838e57f2d44.tar.gz
sql-parser-92e97d6234645e65bfafcf4b53d98838e57f2d44.tar.bz2
revert usage of new array syntax []
See: 86c5baebda24c1721fb6881df8671a3c7df60e8b Related-to: 930a860bc7f0684c45babd012070f88a9505d427, 5d5089a259d0195c4a1e4aa3588c31c839954067 Signed-off-by: William Desportes <williamdes@wdes.fr>
Diffstat (limited to 'tests/Components/FunctionCallTest.php')
-rw-r--r--tests/Components/FunctionCallTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Components/FunctionCallTest.php b/tests/Components/FunctionCallTest.php
index c4c0c26..b8b485a 100644
--- a/tests/Components/FunctionCallTest.php
+++ b/tests/Components/FunctionCallTest.php
@@ -16,7 +16,7 @@ class FunctionCallTest extends TestCase
public function testBuildArrayObj()
{
- $component = new FunctionCall('func', new ArrayObj(['a', 'b']));
+ $component = new FunctionCall('func', new ArrayObj(array('a', 'b')));
$this->assertEquals('func(a, b)', FunctionCall::build($component));
}
}