Skip to content

Commit 6bda36f

Browse files
committed
Bug Fixed
1 parent 4fa5c21 commit 6bda36f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Commands/Repository.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class Repository extends GeneratorCommand
3333
*
3434
* @var string
3535
*/
36-
protected $description = 'Create a repository class {repository: repository name} {model: model name} {--s|service: service name}';
36+
protected $description = 'Create a repository class {repository: repository name} {model: model name} {--s|service=: service name}';
3737

3838
/**
3939
* Create a new command instance.

Commands/Service.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ protected function serviceContent($service, $repository)
287287
288288
class '.$service.' extends AbstractCrudService
289289
{
290-
private $roomServiceRepository;
290+
private $'.$repositoryMember.';
291291
292292
public function __construct('.$repository.' $'.$repositoryMember.')
293293
{

0 commit comments

Comments
 (0)