Skip to content

Commit 2854f07

Browse files
authored
Merge pull request #35 from larapack/analysis-8n1lG5
Apply fixes from StyleCI
2 parents 5412bf5 + 44614be commit 2854f07

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/Hooks.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1073,7 +1073,7 @@ protected function unpublishHook(Hook $hook)
10731073
if ($filesystem->isDirectory($publishPath)) {
10741074
return $filesystem->exists($publishPath.'/'.$filename);
10751075
}
1076-
1076+
10771077
return $filesystem->exists($publishPath);
10781078
});
10791079

src/Migrator.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ protected function rollbackMigrationsByFiles(array $migrations, $files, array $o
7878
foreach ($migrations as $migration) {
7979
$migration = (object) $migration;
8080

81-
if (! $file = Arr::get($files, $migration->migration)) {
81+
if (!$file = Arr::get($files, $migration->migration)) {
8282
$this->note("<fg=red>Migration not found:</> {$migration->migration}");
8383

8484
continue;

tests/HooksTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1305,7 +1305,7 @@ public function test_hook_unseeding_single_file()
13051305

13061306
// Uninstall hook
13071307
$this->artisan('hook:uninstall', [
1308-
'name' => 'single-migrating-hook',
1308+
'name' => 'single-migrating-hook',
13091309
'--no-unmigrate' => true,
13101310
]);
13111311

0 commit comments

Comments
 (0)