@@ -61,14 +61,14 @@  | 
                                                    ||
| 61 | 61 | $question->setMultiselect(true);  | 
                                                        
| 62 | 62 | |
| 63 | 63 | $types = $helper->ask($input, $output, $question);  | 
                                                        
| 64 | -        $output->writeln('You\'ve enabled: ' . implode(', ', $types)); | 
                                                        |
| 64 | +        $output->writeln('You\'ve enabled: '.implode(', ', $types)); | 
                                                        |
| 65 | 65 | |
| 66 | 66 |          $question = new Question("Please enter your redirect uris. Separate multiple with commas: \n"); | 
                                                        
| 67 | 67 | $redirectUris = $helper->ask($input, $output, $question);  | 
                                                        
| 68 | 68 | |
| 69 | 69 |          $clientManager = $this->container->get('api.client_manager.default'); | 
                                                        
| 70 | 70 | $client = $clientManager->createClient();  | 
                                                        
| 71 | -        if(strpos($redirectUris, ',') !== false) { | 
                                                        |
| 71 | +        if (strpos($redirectUris, ',') !== false) { | 
                                                        |
| 72 | 72 |              $client->setRedirectUris(explode(',', $redirectUris)); | 
                                                        
| 73 | 73 | }  | 
                                                        
| 74 | 74 |          else { | 
                                                        
@@ -70,8 +70,7 @@  | 
                                                    ||
| 70 | 70 | $client = $clientManager->createClient();  | 
                                                        
| 71 | 71 |          if(strpos($redirectUris, ',') !== false) { | 
                                                        
| 72 | 72 |              $client->setRedirectUris(explode(',', $redirectUris)); | 
                                                        
| 73 | - }  | 
                                                        |
| 74 | -        else { | 
                                                        |
| 73 | +        } else { | 
                                                        |
| 75 | 74 | $client->setRedirectUris([$redirectUris]);  | 
                                                        
| 76 | 75 | }  | 
                                                        
| 77 | 76 | $client->setAllowedGrantTypes($types);  | 
                                                        
@@ -57,7 +57,7 @@  | 
                                                    ||
| 57 | 57 | $table = new Table($output);  | 
                                                        
| 58 | 58 | $table->setHeaders(['ID', 'Key', 'Secret', 'Grant Types', 'Redirect URIs']);  | 
                                                        
| 59 | 59 | /** @var Client $client */  | 
                                                        
| 60 | -        foreach($clients as $client) { | 
                                                        |
| 60 | +        foreach ($clients as $client) { | 
                                                        |
| 61 | 61 | $table->addRow([  | 
                                                        
| 62 | 62 | 'id' => $client->getId(),  | 
                                                        
| 63 | 63 | 'key' => $client->getPublicId(),  |