Skip to content

Commit cfc0736

Browse files
committed
Merge pull request #161 from johanobergman/rewrite
Some fixes to the client creator command
2 parents 6749520 + 1cad5a1 commit cfc0736

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Console/ClientCreatorCommand.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class ClientCreatorCommand extends Command
2323
*
2424
* @var string
2525
*/
26-
protected $name = 'oauth2-server:client:create';
26+
protected $name = 'oauth2-server:create-client';
2727

2828
/**
2929
* The console command description.
@@ -58,7 +58,7 @@ public function fire()
5858
$clientSecret = $this->argument('clientSecret');
5959

6060
try {
61-
$this->clientRepo->create($clientId, $clientName, $clientSecret);
61+
$this->clientRepo->create($clientName, $clientId, $clientSecret);
6262
$this->info('Client created successfully');
6363
$this->info('Client Name: '.$clientName);
6464
$this->info('Client ID: '.$clientId);

0 commit comments

Comments
 (0)