Skip to content

Commit 855a81b

Browse files
authored
Merge pull request #2 from bhavingajjar/analysis-PxrDl9
Apply fixes from StyleCI
2 parents 8da805d + 426e810 commit 855a81b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/Commands/GenerateApi.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ class GenerateApi extends Command
2222

2323
/**
2424
* Create a new command instance.
25-
*
2625
*/
2726
public function __construct()
2827
{
@@ -36,7 +35,7 @@ public function __construct()
3635
*/
3736
public function handle()
3837
{
39-
if(empty($this->option('model'))){
38+
if (empty($this->option('model'))) {
4039
$this->error('Model Name Argument not found!');
4140

4241
return false;

src/LaravelApiGenerator.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,8 @@ public function generateRoute()
8282
return $this->result;
8383
}
8484

85-
private function getStubContents($stubName){
85+
private function getStubContents($stubName)
86+
{
8687
return file_get_contents(self::STUB_DIR.$stubName);
8788
}
8889
}

0 commit comments

Comments
 (0)