@@ -106,7 +106,7 @@ discard block |
||
| 106 | 106 | $this->queryBuilder = $queryBuilder; |
| 107 | 107 | |
| 108 | 108 | $this->setName('seed:createdb') |
| 109 | - ->setDescription('Create a new seed using existing data'); |
|
| 109 | + ->setDescription('Create a new seed using existing data'); |
|
| 110 | 110 | |
| 111 | 111 | $this->addArgument('table', 'name of the table', null, true, false); |
| 112 | 112 | $this->addArgument('name', 'name of seed', null, false, true); |
@@ -257,6 +257,4 @@ discard block |
||
| 257 | 257 | ); |
| 258 | 258 | $export = join(PHP_EOL, array_filter(['['] + $array)); |
| 259 | 259 | |
| 260 | - return $export; |
|
| 261 | - } |
|
| 262 | -} |
|
| 260 | + return $export |
|
| 263 | 261 | \ No newline at end of file |
@@ -257,6 +257,4 @@ |
||
| 257 | 257 | ); |
| 258 | 258 | $export = join(PHP_EOL, array_filter(['['] + $array)); |
| 259 | 259 | |
| 260 | - return $export; |
|
| 261 | - } |
|
| 262 | -} |
|
| 260 | + return $export |
|
| 263 | 261 | \ No newline at end of file |
@@ -257,6 +257,4 @@ |
||
| 257 | 257 | ); |
| 258 | 258 | $export = join(PHP_EOL, array_filter(['['] + $array)); |
| 259 | 259 | |
| 260 | - return $export; |
|
| 261 | - } |
|
| 262 | -} |
|
| 260 | + return $export |
|
| 263 | 261 | \ No newline at end of file |
@@ -63,8 +63,7 @@ discard block |
||
| 63 | 63 | * @template T |
| 64 | 64 | * @extends AbstractSeedCommand<T> |
| 65 | 65 | */ |
| 66 | -class SeedCreateDbCommand extends AbstractSeedCommand |
|
| 67 | -{ |
|
| 66 | +class SeedCreateDbCommand extends AbstractSeedCommand { |
|
| 68 | 67 | |
| 69 | 68 | /** |
| 70 | 69 | * The seed name |
@@ -115,8 +114,7 @@ discard block |
||
| 115 | 114 | /** |
| 116 | 115 | * {@inheritodc} |
| 117 | 116 | */ |
| 118 | - public function execute() |
|
| 119 | - { |
|
| 117 | + public function execute() { |
|
| 120 | 118 | $writer = $this->io()->writer(); |
| 121 | 119 | |
| 122 | 120 | $this->table = $this->getArgumentValue('table'); |
@@ -257,6 +255,4 @@ discard block |
||
| 257 | 255 | ); |
| 258 | 256 | $export = join(PHP_EOL, array_filter(['['] + $array)); |
| 259 | 257 | |
| 260 | - return $export; |
|
| 261 | - } |
|
| 262 | -} |
|
| 258 | + return $export |
|
| 263 | 259 | \ No newline at end of file |
@@ -257,6 +257,4 @@ |
||
| 257 | 257 | ); |
| 258 | 258 | $export = join(PHP_EOL, array_filter(['['] + $array)); |
| 259 | 259 | |
| 260 | - return $export; |
|
| 261 | - } |
|
| 262 | -} |
|
| 260 | + return $export |
|
| 263 | 261 | \ No newline at end of file |