@@ -67,7 +67,7 @@ protected function createPersonalClient(ClientRepository $clients)
6767 null , $ name , 'http://localhost '
6868 );
6969
70- $ this ->info ('Personal access client created successfully. ' );
70+ $ this ->components -> info ('Personal access client created successfully. ' );
7171
7272 $ this ->outputClientDetails ($ client );
7373 }
@@ -97,7 +97,7 @@ protected function createPasswordClient(ClientRepository $clients)
9797 null , $ name , 'http://localhost ' , $ provider
9898 );
9999
100- $ this ->info ('Password grant client created successfully. ' );
100+ $ this ->components -> info ('Password grant client created successfully. ' );
101101
102102 $ this ->outputClientDetails ($ client );
103103 }
@@ -119,7 +119,7 @@ protected function createClientCredentialsClient(ClientRepository $clients)
119119 null , $ name , ''
120120 );
121121
122- $ this ->info ('New client created successfully. ' );
122+ $ this ->components -> info ('New client created successfully. ' );
123123
124124 $ this ->outputClientDetails ($ client );
125125 }
@@ -149,7 +149,7 @@ protected function createAuthCodeClient(ClientRepository $clients)
149149 $ userId , $ name , $ redirect , null , false , false , ! $ this ->option ('public ' )
150150 );
151151
152- $ this ->info ('New client created successfully. ' );
152+ $ this ->components -> info ('New client created successfully. ' );
153153
154154 $ this ->outputClientDetails ($ client );
155155 }
@@ -167,7 +167,7 @@ protected function outputClientDetails(Client $client)
167167 $ this ->line ('' );
168168 }
169169
170- $ this ->line ('<comment>Client ID: </comment> ' . $ client ->getKey ());
171- $ this ->line ('<comment>Client secret: </comment> ' . $ client ->plainSecret );
170+ $ this ->components -> twoColumnDetail ('<comment>Client ID</comment> ' , $ client ->getKey ());
171+ $ this ->components -> twoColumnDetail ('<comment>Client secret</comment> ' , $ client ->plainSecret );
172172 }
173173}
0 commit comments