Skip to content

Commit 57de71c

Browse files
committed
fix style
1 parent 9281bda commit 57de71c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Illuminate/Console/GeneratorCommand.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ abstract class GeneratorCommand extends Command
3737
'declare', 'else', 'endforeach', 'exit', 'for', 'if', 'insteadof', 'new',
3838
'public', 'switch', 'use', 'as', 'class', 'default', 'elseif', 'endif',
3939
'extends', 'foreach', 'implements', 'interface', 'or', 'require', 'throw',
40-
'var'
40+
'var',
4141
];
4242

4343
/**
@@ -72,7 +72,7 @@ public function handle()
7272
// First we will check whether the name can be found in the reserved names.
7373
// We have so called "reserved names" to ensure that no files are generated
7474
// using PHP keywords for example, because that would cause errors.
75-
if($this->isReservedName($this->getNameInput())) {
75+
if ($this->isReservedName($this->getNameInput())) {
7676
$this->error('The name "'.$this->getNameInput().'" is reserved. Please pick something else.');
7777

7878
return false;

0 commit comments

Comments
 (0)