Skip to content

Commit 74bb33f

Browse files
author
Paul Rogers
committed
fix(MigrateLoadCommand): Parenthesize nested ternary.
1 parent 3443d64 commit 74bb33f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Commands/MigrateLoadCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public function handle()
4949
$is_dropping = ! ($this->option('no-drop')
5050
? true
5151
// Prefixing with command name since `migrate` may implicitly call.
52-
: env('MIGRATE_LOAD_NO_DROP') ? true : false);
52+
: (env('MIGRATE_LOAD_NO_DROP') ? true : false));
5353

5454
if ($is_dropping) {
5555
\Schema::dropAllViews();

0 commit comments

Comments
 (0)