Skip to content

Commit 51fffac

Browse files
committed
Apply fixes from StyleCI
[ci skip] [skip ci]
1 parent 36b2cdd commit 51fffac

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/app/Console/Commands/Fix.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
namespace Backpack\CRUD\app\Console\Commands;
44

55
use Illuminate\Console\Command;
6-
use Symfony\Component\Process\Exception\ProcessFailedException;
7-
use Symfony\Component\Process\Process;
86

97
class Fix extends Command
108
{
@@ -39,8 +37,9 @@ private function fixErrorViews()
3937
$this->line('Checking error views...');
4038

4139
// check if the `resources/views/errors` directory exists
42-
if (!is_dir($errorsDirectory)) {
40+
if (! is_dir($errorsDirectory)) {
4341
$this->info('Your error views are not vulnerable. Nothing to do here.');
42+
4443
return;
4544
}
4645

@@ -51,8 +50,9 @@ private function fixErrorViews()
5150
});
5251

5352
// check if there are actually views inside the directory
54-
if (!count($views)) {
53+
if (! count($views)) {
5554
$this->info('Your error views are not vulnerable. Nothing to do here.');
55+
5656
return;
5757
}
5858

0 commit comments

Comments
 (0)