Skip to content

Commit c3871f3

Browse files
Update code-style
1 parent b5a9666 commit c3871f3

File tree

1 file changed

+5
-9
lines changed

1 file changed

+5
-9
lines changed

src/Services/Migrator.php

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@
2020
class Migrator
2121
{
2222
public function __construct(
23-
protected File $file,
24-
protected Notification $notification,
23+
protected File $file,
24+
protected Notification $notification,
2525
protected ActionRepository $repository,
26-
protected Config $config,
27-
protected Application $laravel
26+
protected Config $config,
27+
protected Application $laravel
2828
) {
2929
}
3030

@@ -124,11 +124,7 @@ protected function allowAction(Action $action, Options $options): bool
124124
return false;
125125
}
126126

127-
if ($this->disallowBefore($action, $options)) {
128-
return false;
129-
}
130-
131-
return true;
127+
return ! ($this->disallowBefore($action, $options));
132128
}
133129

134130
protected function allowEnvironment(Action $action): bool

0 commit comments

Comments
 (0)