@@ -72,7 +72,7 @@ |
||
72 | 72 | */ |
73 | 73 | public function getFillable() |
74 | 74 | { |
75 | - if (! $this->fillable) { |
|
75 | + if (!$this->fillable) { |
|
76 | 76 | return '[]'; |
77 | 77 | } |
78 | 78 | $results = '['.PHP_EOL; |
@@ -86,7 +86,7 @@ |
||
86 | 86 | */ |
87 | 87 | public function getFillable() |
88 | 88 | { |
89 | - if (! $this->fillable) { |
|
89 | + if (!$this->fillable) { |
|
90 | 90 | return '[]'; |
91 | 91 | } |
92 | 92 | $results = '['.PHP_EOL; |
@@ -73,7 +73,7 @@ |
||
73 | 73 | */ |
74 | 74 | public function getRules() |
75 | 75 | { |
76 | - if (! $this->rules) { |
|
76 | + if (!$this->rules) { |
|
77 | 77 | return '[]'; |
78 | 78 | } |
79 | 79 | $results = '['.PHP_EOL; |
@@ -45,7 +45,7 @@ |
||
45 | 45 | 'force' => $this->option('force'), |
46 | 46 | ]); |
47 | 47 | // generate repository service provider |
48 | - if (! file_exists($bindingGenerator->getPath())) { |
|
48 | + if (!file_exists($bindingGenerator->getPath())) { |
|
49 | 49 | $this->call('make:provider', [ |
50 | 50 | 'name' => $bindingGenerator->getConfigGeneratorClassPath($bindingGenerator->getPathConfigNode()), |
51 | 51 | ]); |
@@ -49,7 +49,7 @@ |
||
49 | 49 | |
50 | 50 | $filesystem = new Filesystem(); |
51 | 51 | |
52 | - if (! $filesystem->exists(app()->path().'/Transformers/'.$this->argument('name').'Transformer.php')) { |
|
52 | + if (!$filesystem->exists(app()->path().'/Transformers/'.$this->argument('name').'Transformer.php')) { |
|
53 | 53 | (new TransformerGenerator([ |
54 | 54 | 'name' => $this->argument('name'), |
55 | 55 | 'force' => $this->option('force'), |
@@ -73,7 +73,7 @@ |
||
73 | 73 | */ |
74 | 74 | public function getFillable() |
75 | 75 | { |
76 | - if (! $this->fillable) { |
|
76 | + if (!$this->fillable) { |
|
77 | 77 | return '[]'; |
78 | 78 | } |
79 | 79 | $results = '['.PHP_EOL; |
@@ -43,7 +43,7 @@ |
||
43 | 43 | $stub = isset($stub) ? $stub : $this->stub; |
44 | 44 | $path = config('repository.generator.stubsOverridePath', __DIR__); |
45 | 45 | |
46 | - if (! file_exists($path.'/Stubs/'.$stub.'.stub')) { |
|
46 | + if (!file_exists($path.'/Stubs/'.$stub.'.stub')) { |
|
47 | 47 | $path = __DIR__; |
48 | 48 | } |
49 | 49 |
@@ -73,7 +73,7 @@ discard block |
||
73 | 73 | { |
74 | 74 | $path = config('repository.generator.stubsOverridePath', __DIR__); |
75 | 75 | |
76 | - if (! file_exists($path.'/Stubs/'.$this->stub.'.stub')) { |
|
76 | + if (!file_exists($path.'/Stubs/'.$this->stub.'.stub')) { |
|
77 | 77 | $path = __DIR__; |
78 | 78 | } |
79 | 79 | |
@@ -266,10 +266,10 @@ discard block |
||
266 | 266 | public function run() |
267 | 267 | { |
268 | 268 | $this->setUp(); |
269 | - if ($this->filesystem->exists($path = $this->getPath()) && ! $this->force) { |
|
269 | + if ($this->filesystem->exists($path = $this->getPath()) && !$this->force) { |
|
270 | 270 | throw new FileAlreadyExistsException($path); |
271 | 271 | } |
272 | - if (! $this->filesystem->isDirectory($dir = dirname($path))) { |
|
272 | + if (!$this->filesystem->isDirectory($dir = dirname($path))) { |
|
273 | 273 | $this->filesystem->makeDirectory($dir, 0777, true, true); |
274 | 274 | } |
275 | 275 | |
@@ -308,7 +308,7 @@ discard block |
||
308 | 308 | */ |
309 | 309 | public function getOption($key, $default = null) |
310 | 310 | { |
311 | - if (! $this->hasOption($key)) { |
|
311 | + if (!$this->hasOption($key)) { |
|
312 | 312 | return $default; |
313 | 313 | } |
314 | 314 |
@@ -141,11 +141,11 @@ |
||
141 | 141 | } |
142 | 142 | $path = config('repository.generator.stubsOverridePath', __DIR__); |
143 | 143 | |
144 | - if (! file_exists($path."/Stubs/migration/{$file}.stub")) { |
|
144 | + if (!file_exists($path."/Stubs/migration/{$file}.stub")) { |
|
145 | 145 | $path = __DIR__; |
146 | 146 | } |
147 | 147 | |
148 | - if (! file_exists($path."/Stubs/migration/{$file}.stub")) { |
|
148 | + if (!file_exists($path."/Stubs/migration/{$file}.stub")) { |
|
149 | 149 | throw new FileNotFoundException($path."/Stubs/migration/{$file}.stub"); |
150 | 150 | } |
151 | 151 |