Skip to content

Commit 8171483

Browse files
committed
fixed style ci check
1 parent 5cb25d3 commit 8171483

11 files changed

+24
-13
lines changed

src/Services/AddToGitService.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,9 @@
77

88
class AddToGitService extends ServiceAbstract implements ServiceInterface
99
{
10-
public function getConsoleOutput() {
11-
return $this->shouldPerformService() ? 'Changes added to git' : 'Changes were not added to git';
10+
public function getConsoleOutput()
11+
{
12+
return $this->shouldPerformService() ? 'Changes added to git' : 'Changes were not added to git';
1213
}
1314

1415
public function shouldPerformService()

src/Services/BackpackCrudControllerService.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ class BackpackCrudControllerService extends ServiceAbstract implements ServiceIn
1414

1515
protected $key = 'crudController';
1616

17-
public function getConsoleOutput() {
17+
public function getConsoleOutput()
18+
{
1819
return 'Generated controller: '.$this->command->naming[$this->key]->getRelativeFilePath();
1920
}
2021

src/Services/BackpackCrudModelService.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ class BackpackCrudModelService extends ServiceAbstract implements ServiceInterfa
1313

1414
protected $key = 'crudModel';
1515

16-
public function getConsoleOutput() {
16+
public function getConsoleOutput()
17+
{
1718
return 'Generated model: '.$this->command->naming[$this->key]->getRelativeFilePath();
1819
}
1920

src/Services/BackpackCrudRequestService.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ class BackpackCrudRequestService extends ServiceAbstract implements ServiceInter
1414

1515
protected $key = 'crudRequest';
1616

17-
public function getConsoleOutput() {
17+
public function getConsoleOutput()
18+
{
1819
return 'Generated request: '.$this->command->naming[$this->key]->getRelativeFilePath();
1920
}
2021

src/Services/FactoryService.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ class FactoryService extends ServiceAbstract implements ServiceInterface
1212

1313
protected $key = 'factory';
1414

15-
public function getConsoleOutput() {
15+
public function getConsoleOutput()
16+
{
1617
return 'Generated factory file: '.$this->command->naming[$this->key]->getRelativeFilePath();
1718
}
1819

src/Services/LanguageFileService.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ class LanguageFileService extends ServiceAbstract implements ServiceInterface
1313

1414
protected $key = 'languageFile';
1515

16-
public function getConsoleOutput() {
16+
public function getConsoleOutput()
17+
{
1718
return 'Added translatable names for this entity to '.$this->command->naming[$this->key]->getRelativeFilePath();
1819
}
1920

src/Services/MigrationService.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ class MigrationService extends ServiceAbstract implements ServiceInterface
1313

1414
protected $key = 'migration';
1515

16-
public function getConsoleOutput() {
16+
public function getConsoleOutput()
17+
{
1718
return 'Generated migration file: '.$this->command->naming[$this->key]->getRelativeFilePath();
1819
}
1920

src/Services/OpenIdeService.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,11 @@
77

88
class OpenIdeService extends ServiceAbstract implements ServiceInterface
99
{
10-
public function getConsoleOutput() {
10+
public function getConsoleOutput()
11+
{
1112
$ide = $this->getIde();
1213

13-
return $ide ? 'Opening all generated or edited files in '.$this->getIde() : 'Editor not defined - not opening files in IDE';
14+
return $ide ? 'Opening all generated or edited files in '.$ide : 'Editor not defined - not opening files in IDE';
1415
}
1516

1617
public function call()

src/Services/RouteService.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ class RouteService extends ServiceAbstract implements ServiceInterface
99
{
1010
protected $key = 'routeFile';
1111

12-
public function getConsoleOutput() {
12+
public function getConsoleOutput()
13+
{
1314
return 'Added route to '.$this->command->naming[$this->key]->getRelativeFilePath();
1415
}
1516

src/Services/SeederService.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ class SeederService extends ServiceAbstract implements ServiceInterface
1212

1313
protected $key = 'seeder';
1414

15-
public function getConsoleOutput() {
15+
public function getConsoleOutput()
16+
{
1617
return 'Generated seeder: '.$this->command->naming[$this->key]->getRelativeFilePath();
1718
}
1819

0 commit comments

Comments
 (0)