@@ -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); |
@@ -238,6 +238,4 @@ discard block |
||
| 238 | 238 | } |
| 239 | 239 | '; |
| 240 | 240 | |
| 241 | - return $content; |
|
| 242 | - } |
|
| 243 | -} |
|
| 241 | + return $content |
|
| 244 | 242 | \ No newline at end of file |
@@ -238,6 +238,4 @@ |
||
| 238 | 238 | } |
| 239 | 239 | '; |
| 240 | 240 | |
| 241 | - return $content; |
|
| 242 | - } |
|
| 243 | -} |
|
| 241 | + return $content |
|
| 244 | 242 | \ No newline at end of file |
@@ -238,6 +238,4 @@ |
||
| 238 | 238 | } |
| 239 | 239 | '; |
| 240 | 240 | |
| 241 | - return $content; |
|
| 242 | - } |
|
| 243 | -} |
|
| 241 | + return $content |
|
| 244 | 242 | \ 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 | if (!$this->schema->hasTable($this->table, true)) { |
@@ -238,6 +236,4 @@ discard block |
||
| 238 | 236 | } |
| 239 | 237 | '; |
| 240 | 238 | |
| 241 | - return $content; |
|
| 242 | - } |
|
| 243 | -} |
|
| 239 | + return $content |
|
| 244 | 240 | \ No newline at end of file |
@@ -238,6 +238,4 @@ |
||
| 238 | 238 | } |
| 239 | 239 | '; |
| 240 | 240 | |
| 241 | - return $content; |
|
| 242 | - } |
|
| 243 | -} |
|
| 241 | + return $content |
|
| 244 | 242 | \ No newline at end of file |