summaryrefslogtreecommitdiffstats
path: root/src/Components/UnionKeyword.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/Components/UnionKeyword.php')
-rw-r--r--src/Components/UnionKeyword.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Components/UnionKeyword.php b/src/Components/UnionKeyword.php
index 2de5126..dc06831 100644
--- a/src/Components/UnionKeyword.php
+++ b/src/Components/UnionKeyword.php
@@ -1,8 +1,8 @@
<?php
-
/**
* `UNION` keyword builder.
*/
+declare(strict_types=1);
namespace PhpMyAdmin\SqlParser\Components;
@@ -23,9 +23,9 @@ class UnionKeyword extends Component
*
* @return string
*/
- public static function build($component, array $options = array())
+ public static function build($component, array $options = [])
{
- $tmp = array();
+ $tmp = [];
foreach ($component as $componentPart) {
$tmp[] = $componentPart[0] . ' ' . $componentPart[1];
}