8000 fix some formatting · laravel/framework@3a69303 · GitHub
[go: up one dir, main page]

Skip to content

Commit 3a69303

Browse files
committed
fix some formatting
1 parent 5389470 commit 3a69303

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/Illuminate/Console/GeneratorCommand.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ public function fire()
5353
if ($this->files->exists($path = $this->getPath($name)))
5454
{
5555
$this->error($this->type.' already exists!');
56+
5657
return false;
5758
}
5859

src/Illuminate/Foundation/Console/ModelMakeCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class ModelMakeCommand extends GeneratorCommand {
3333
*/
3434
public function fire()
3535
{
36-
if(parent::fire() == null)
36+
if (parent::fire() !== false)
3737
{
3838
if ( ! $this->option('no-migration'))
3939
{

0 commit comments

Comments
 (0)
0