summaryrefslogtreecommitdiffstats
path: root/src/Statements/BackupStatement.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/Statements/BackupStatement.php')
-rw-r--r--src/Statements/BackupStatement.php16
1 files changed, 6 insertions, 10 deletions
diff --git a/src/Statements/BackupStatement.php b/src/Statements/BackupStatement.php
index 52f136b..3fab2de 100644
--- a/src/Statements/BackupStatement.php
+++ b/src/Statements/BackupStatement.php
@@ -1,19 +1,15 @@
<?php
-
/**
* `BACKUP` statement.
*/
+declare(strict_types=1);
namespace PhpMyAdmin\SqlParser\Statements;
/**
* `BACKUP` statement.
*
- * BACKUP TABLE tbl_name array(, tbl_name] ... TO '/path/to/backup/directory'
- *
- * @category Statements
- *
- * @license https://www.gnu.org/licenses/gpl-2.0.txt GPL-2.0+
+ * BACKUP TABLE tbl_name [, tbl_name] ... TO '/path/to/backup/directory'
*/
class BackupStatement extends MaintenanceStatement
{
@@ -22,15 +18,15 @@ class BackupStatement extends MaintenanceStatement
*
* @var array
*/
- public static $OPTIONS = array(
+ public static $OPTIONS = [
'TABLE' => 1,
'NO_WRITE_TO_BINLOG' => 2,
'LOCAL' => 3,
- 'TO' => array(
+ 'TO' => [
4,
'var',
- )
- );
+ ],
+ ];
}