diff options
Diffstat (limited to 'src/Components/CaseExpression.php')
-rw-r--r-- | src/Components/CaseExpression.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/Components/CaseExpression.php b/src/Components/CaseExpression.php index 309f0ff..468cf6d 100644 --- a/src/Components/CaseExpression.php +++ b/src/Components/CaseExpression.php @@ -33,21 +33,21 @@ class CaseExpression extends Component * * @var array */ - public $conditions = []; + public $conditions = array(); /** * The results matching with the WHEN clauses. * * @var array */ - public $results = []; + public $results = array(); /** * The values to be compared against. * * @var array */ - public $compare_values = []; + public $compare_values = array(); /** * The result in ELSE section of expr. @@ -84,7 +84,7 @@ class CaseExpression extends Component * * @return CaseExpression */ - public static function parse(Parser $parser, TokensList $list, array $options = []) + public static function parse(Parser $parser, TokensList $list, array $options = array()) { $ret = new self(); @@ -279,7 +279,7 @@ class CaseExpression extends Component * * @return string */ - public static function build($component, array $options = []) + public static function build($component, array $options = array()) { $ret = 'CASE '; if (isset($component->value)) { |