summaryrefslogtreecommitdiffstats
path: root/src/Contexts/ContextMariaDb100100.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/Contexts/ContextMariaDb100100.php')
-rw-r--r--src/Contexts/ContextMariaDb100100.php12
1 files changed, 4 insertions, 8 deletions
diff --git a/src/Contexts/ContextMariaDb100100.php b/src/Contexts/ContextMariaDb100100.php
index 26ce58b..9eca83a 100644
--- a/src/Contexts/ContextMariaDb100100.php
+++ b/src/Contexts/ContextMariaDb100100.php
@@ -1,5 +1,4 @@
<?php
-
/**
* Context for MariaDB 10.1.
*
@@ -7,6 +6,7 @@
*
* @see https://mariadb.com/kb/en/the-mariadb-library/reserved-words/
*/
+declare(strict_types=1);
namespace PhpMyAdmin\SqlParser\Contexts;
@@ -15,10 +15,6 @@ use PhpMyAdmin\SqlParser\Token;
/**
* Context for MariaDB 10.1.
- *
- * @category Contexts
- *
- * @license https://www.gnu.org/licenses/gpl-2.0.txt GPL-2.0+
*/
class ContextMariaDb100100 extends Context
{
@@ -33,7 +29,7 @@ class ContextMariaDb100100 extends Context
*
* @var array
*/
- public static $KEYWORDS = array(
+ public static $KEYWORDS = [
'AT' => 1, 'DO' => 1, 'IO' => 1, 'NO' => 1, 'XA' => 1,
'ANY' => 1, 'CPU' => 1, 'END' => 1, 'IPC' => 1, 'NDB' => 1, 'NEW' => 1,
'ONE' => 1, 'ROW' => 1, 'XID' => 1,
@@ -360,6 +356,6 @@ class ContextMariaDb100100 extends Context
'CHAR' => 43,
'BINARY' => 43,
- 'INTERVAL' => 43
- );
+ 'INTERVAL' => 43,
+ ];
}