Skip to content

Commit

Permalink
Remove unnecessary else statement
Browse files Browse the repository at this point in the history
  • Loading branch information
Lloople committed Oct 2, 2017
1 parent 4ed496a commit 46529ae
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/Illuminate/Foundation/Console/ExceptionMakeCommand.php
Expand Up @@ -39,11 +39,12 @@ protected function getStub()
return $this->option('report')
? __DIR__.'/stubs/exception-render-report.stub'
: __DIR__.'/stubs/exception-render.stub';
} else {
return $this->option('report')
? __DIR__.'/stubs/exception-report.stub'
: __DIR__.'/stubs/exception.stub';
}

return $this->option('report')
? __DIR__.'/stubs/exception-report.stub'
: __DIR__.'/stubs/exception.stub';

}

/**
Expand Down

0 comments on commit 46529ae

Please sign in to comment.