Skip to content

Commit cd2210a

Browse files
committed
Merge branch '1.1'
2 parents 4d84df8 + 1980c66 commit cd2210a

File tree

5 files changed

+14
-4
lines changed

5 files changed

+14
-4
lines changed

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,16 @@ Updates should follow the [Keep a CHANGELOG](http://keepachangelog.com/) princip
2121
### Security
2222
- Nothing
2323

24+
## 1.1.1 - 2018-03-17
25+
26+
### Fixed
27+
- function calls for conversion names
28+
29+
## 1.1.0 - 2018-03-17
30+
31+
### Added
32+
- --schema option for migrations
33+
2434
## 1.0.0 - 2018-03-16
2535

2636
### Added

src/Services/MakeBackpackCrudService.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ class MakeBackpackCrudService extends MakeServiceAbstract implements MakeService
1010
public function make()
1111
{
1212
$this->command->call('backpack:crud', [
13-
'name' => $this->getName($this->entity),
13+
'name' => call_user_func([$this->options['name_conversion'], 'getName'], $this->entity),
1414
]);
1515
}
1616
}

src/Services/MakeFactoryService.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ class MakeFactoryService extends MakeServiceAbstract implements MakeServiceInter
1010
public function make()
1111
{
1212
$this->command->call('make:factory', [
13-
'name' => $this->getName($this->entity),
13+
'name' => call_user_func([$this->options['name_conversion'], 'getName'], $this->entity),
1414
]);
1515
}
1616
}

src/Services/MakeMigrationService.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ class MakeMigrationService extends MakeServiceAbstract implements MakeServiceInt
1010
public function make()
1111
{
1212
$this->command->call('make:migration:schema', [
13-
'name' => $this->getName($this->entity),
13+
'name' => call_user_func([$this->options['name_conversion'], 'getName'], $this->entity),
1414
'--model' => 0,
1515
'--schema' => $this->getSchema(),
1616
]);

src/Services/MakeSeederService.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ class MakeSeederService extends MakeServiceAbstract implements MakeServiceInterf
1010
public function make()
1111
{
1212
$this->command->call('make:seeder', [
13-
'name' => $this->getName($this->entity),
13+
'name' => call_user_func([$this->options['name_conversion'], 'getName'], $this->entity),
1414
]);
1515
}
1616
}

0 commit comments

Comments
 (0)