@@ -91,7 +91,7 @@ discard block |
||
91 | 91 | protected function askApiKey(InputInterface $input, OutputInterface $output) |
92 | 92 | { |
93 | 93 | $question = (new Question('Enter API key: ')) |
94 | - ->setValidator(function ($answer) { |
|
94 | + ->setValidator(function($answer) { |
|
95 | 95 | if (is_null($answer)) { |
96 | 96 | throw new \InvalidArgumentException("API key can't be null."); |
97 | 97 | } |
@@ -113,7 +113,7 @@ discard block |
||
113 | 113 | protected function askSecretKey(InputInterface $input, OutputInterface $output) |
114 | 114 | { |
115 | 115 | $question = (new Question('Enter secret key: ')) |
116 | - ->setValidator(function ($answer) { |
|
116 | + ->setValidator(function($answer) { |
|
117 | 117 | if (is_null($answer)) { |
118 | 118 | throw new \InvalidArgumentException("Secret key can't be null."); |
119 | 119 | } |
@@ -174,7 +174,7 @@ discard block |
||
174 | 174 | $listFile .= "// api_list.php @generated by api:list command\n\n"; |
175 | 175 | $listFile .= "return ".var_export($commands, true).";\n"; |
176 | 176 | |
177 | - file_put_contents(__DIR__ . '/../../cache/api_list.php', $listFile); |
|
177 | + file_put_contents(__DIR__.'/../../cache/api_list.php', $listFile); |
|
178 | 178 | |
179 | 179 | $progress->finish(); |
180 | 180 | } |