summaryrefslogtreecommitdiffstats
path: root/src/Components/JoinKeyword.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/Components/JoinKeyword.php')
-rw-r--r--src/Components/JoinKeyword.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Components/JoinKeyword.php b/src/Components/JoinKeyword.php
index 330c1f2..9da28e0 100644
--- a/src/Components/JoinKeyword.php
+++ b/src/Components/JoinKeyword.php
@@ -98,9 +98,9 @@ class JoinKeyword extends Component
*
* @return JoinKeyword[]
*/
- public static function parse(Parser $parser, TokensList $list, array $options = [])
+ public static function parse(Parser $parser, TokensList $list, array $options = array())
{
- $ret = [];
+ $ret = array();
$expr = new self();
@@ -212,9 +212,9 @@ class JoinKeyword extends Component
*
* @return string
*/
- public static function build($component, array $options = [])
+ public static function build($component, array $options = array())
{
- $ret = [];
+ $ret = array();
foreach ($component as $c) {
$ret[] = array_search($c->type, static::$JOINS) . ' ' . $c->expr
. (! empty($c->on)