@@ -11,7 +11,7 @@ discard block |
||
| 11 | 11 | { |
| 12 | 12 | use DumperTrait; |
| 13 | 13 | |
| 14 | - public function __construct(array $options = []) |
|
| 14 | + public function __construct(array $options = [ ]) |
|
| 15 | 15 | { |
| 16 | 16 | foreach ($options as $option => $value) { |
| 17 | 17 | if (property_exists($this, $option)) { |
@@ -22,7 +22,7 @@ discard block |
||
| 22 | 22 | /** |
| 23 | 23 | * @return $this |
| 24 | 24 | */ |
| 25 | - public static function create(array $options = []) |
|
| 25 | + public static function create(array $options = [ ]) |
|
| 26 | 26 | { |
| 27 | 27 | return new static($options); |
| 28 | 28 | } |
@@ -124,9 +124,9 @@ discard block |
||
| 124 | 124 | { |
| 125 | 125 | switch (strtolower($this->getDumperClassName())) { |
| 126 | 126 | case 'mysqldumper': |
| 127 | - $ignoreTablesArgs = []; |
|
| 127 | + $ignoreTablesArgs = [ ]; |
|
| 128 | 128 | foreach ($this->ignoreTables as $tableName) { |
| 129 | - $ignoreTablesArgs[] = "--ignore-table={$this->dbName}.{$tableName}"; |
|
| 129 | + $ignoreTablesArgs[ ] = "--ignore-table={$this->dbName}.{$tableName}"; |
|
| 130 | 130 | } |
| 131 | 131 | return (count($ignoreTablesArgs) > 0) ? implode(' ', $ignoreTablesArgs) : ''; |
| 132 | 132 | case 'pgsqldumper'; |