Skip to content

Commit 7f932e4

Browse files
committed
formatting
1 parent fb2ca3b commit 7f932e4

File tree

3 files changed

+2
-8
lines changed

3 files changed

+2
-8
lines changed

src/Illuminate/Database/Console/Migrations/RollbackCommand.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -77,17 +77,11 @@ protected function getOptions()
7777
{
7878
return [
7979
['database', null, InputOption::VALUE_OPTIONAL, 'The database connection to use'],
80-
8180
['force', null, InputOption::VALUE_NONE, 'Force the operation to run when in production'],
82-
8381
['path', null, InputOption::VALUE_OPTIONAL | InputOption::VALUE_IS_ARRAY, 'The path(s) to the migrations files to be executed'],
84-
8582
['realpath', null, InputOption::VALUE_NONE, 'Indicate any provided migration file paths are pre-resolved absolute paths'],
86-
8783
['pretend', null, InputOption::VALUE_NONE, 'Dump the SQL queries that would be run'],
88-
8984
['step', null, InputOption::VALUE_OPTIONAL, 'The number of migrations to be reverted'],
90-
9185
['batch', null, InputOption::VALUE_REQUIRED, 'The batch of migrations (identified by their batch number) to be reverted'],
9286
];
9387
}

src/Illuminate/Database/Migrations/DatabaseMigrationRepository.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ public function getMigrations($steps)
7474
* @param int $batchNumber
7575
* @return array
7676
*/
77-
public function getMigrationsByBatch($batch): array
77+
public function getMigrationsByBatch($batch)
7878
{
7979
return $this->table()
8080
->where('batch', $batch)

src/Illuminate/Database/Migrations/MigrationRepositoryInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public function getMigrations($steps);
2525
* @param int $batch
2626
* @return array
2727
*/
28-
public function getMigrationsByBatch($batch): array;
28+
public function getMigrationsByBatch($batch);
2929

3030
/**
3131
* Get the last migration batch.

0 commit comments

Comments
 (0)