Skip to content

Commit 52eabf5

Browse files
authored
Merge pull request #38 from webfactor/analysis-qvoVyl
Apply fixes from StyleCI
2 parents ac8eab3 + 351e320 commit 52eabf5

File tree

5 files changed

+4
-7
lines changed

5 files changed

+4
-7
lines changed

src/Commands/MakeEntity.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,5 +98,4 @@ private function executeService(ServiceInterface $service)
9898
{
9999
$service->call();
100100
}
101-
102101
}

src/Contracts/ServiceAbstract.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@ private function getSplFile(string $pathToFile): \SplFileInfo
4444
return null;
4545
}
4646

47-
public function getConsoleOutput() {
47+
public function getConsoleOutput()
48+
{
4849
return 'Handling ' . $this->key;
4950
}
5051
}

src/Services/AddToGitService.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ class AddToGitService extends ServiceAbstract implements ServiceInterface
99
{
1010
public function getConsoleOutput()
1111
{
12-
return $this->shouldPerformService() ? 'Changes added to git' : 'Changes were not added to git';
12+
return $this->shouldPerformService() ? 'Changes added to git' : 'Changes were not added to git';
1313
}
1414

1515
public function shouldPerformService()
1616
{
17-
return $this->command->option('git');
17+
return $this->command->option('git');
1818
}
1919

2020
public function call()
@@ -25,5 +25,4 @@ public function call()
2525
}
2626
}
2727
}
28-
2928
}

src/Services/BackpackCrudRequestService.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,4 @@ protected function replaceValidationRules()
3030
{
3131
$this->fileContent = str_replace('__rules__', ShortSyntaxArray::parse($this->command->schema->getValidationRules()->toArray()), $this->fileContent);
3232
}
33-
3433
}

src/Services/FactoryService.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,4 @@ protected function replaceModelRelatedStrings()
2727
$this->fileContent = str_replace('__model_namespace__', $this->command->naming['crudModel']->getNamespace(), $this->fileContent);
2828
$this->fileContent = str_replace('__model_class__', $this->command->naming['crudModel']->getClassName(), $this->fileContent);
2929
}
30-
3130
}

0 commit comments

Comments
 (0)