summaryrefslogtreecommitdiffstats
path: root/src/Statements/SetStatement.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/Statements/SetStatement.php')
-rw-r--r--src/Statements/SetStatement.php49
1 files changed, 35 insertions, 14 deletions
diff --git a/src/Statements/SetStatement.php b/src/Statements/SetStatement.php
index ef3a0c1..129cc14 100644
--- a/src/Statements/SetStatement.php
+++ b/src/Statements/SetStatement.php
@@ -26,27 +26,48 @@ class SetStatement extends Statement
*
* @var array
*/
- public static $CLAUSES = array(
- 'SET' => array('SET', 3),
- '_END_OPTIONS' => array('_END_OPTIONS', 1),
- );
+ public static $CLAUSES = [
+ 'SET' => [
+ 'SET',
+ 3,
+ ],
+ '_END_OPTIONS' => [
+ '_END_OPTIONS',
+ 1,
+ ],
+ ];
/**
* Possible exceptions in SET statment.
*
* @var array
*/
- public static $OPTIONS = array(
- 'CHARSET' => array(3, 'var'),
- 'CHARACTER SET' => array(3, 'var'),
- 'NAMES' => array(3, 'var'),
- 'PASSWORD' => array(3, 'expr'),
- );
+ public static $OPTIONS = [
+ 'CHARSET' => [
+ 3,
+ 'var',
+ ],
+ 'CHARACTER SET' => [
+ 3,
+ 'var',
+ ],
+ 'NAMES' => [
+ 3,
+ 'var',
+ ],
+ 'PASSWORD' => [
+ 3,
+ 'expr',
+ ],
+ ];
- public static $END_OPTIONS = array(
- 'COLLATE' => array(1, 'var'),
- 'DEFAULT' => 1
- );
+ public static $END_OPTIONS = [
+ 'COLLATE' => [
+ 1,
+ 'var',
+ ],
+ 'DEFAULT' => 1,
+ ];
/**
* Options used in current statement.