@@ -125,7 +125,7 @@ discard block |
||
125 | 125 | protected function checkInput(InputInterface $input) { |
126 | 126 | $uid = $input->getArgument('uid'); |
127 | 127 | if (!$input->getOption('ignore-missing-user') && !$this->userManager->userExists($uid)) { |
128 | - throw new \InvalidArgumentException('The user "' . $uid . '" does not exist.'); |
|
128 | + throw new \InvalidArgumentException('The user "'.$uid.'" does not exist.'); |
|
129 | 129 | } |
130 | 130 | |
131 | 131 | if ($input->getArgument('key') === '' && $input->hasParameterOption('--default-value')) { |
@@ -160,7 +160,7 @@ discard block |
||
160 | 160 | try { |
161 | 161 | $this->checkInput($input); |
162 | 162 | } catch (\InvalidArgumentException $e) { |
163 | - $output->writeln('<error>' . $e->getMessage() . '</error>'); |
|
163 | + $output->writeln('<error>'.$e->getMessage().'</error>'); |
|
164 | 164 | return 1; |
165 | 165 | } |
166 | 166 | |
@@ -172,7 +172,7 @@ discard block |
||
172 | 172 | $value = $this->config->getUserValue($uid, $app, $key, null); |
173 | 173 | if ($input->getArgument('value') !== null) { |
174 | 174 | if ($input->hasParameterOption('--update-only') && $value === null) { |
175 | - $output->writeln('<error>The setting does not exist for user "' . $uid . '".</error>'); |
|
175 | + $output->writeln('<error>The setting does not exist for user "'.$uid.'".</error>'); |
|
176 | 176 | return 1; |
177 | 177 | } |
178 | 178 | |
@@ -189,7 +189,7 @@ discard block |
||
189 | 189 | |
190 | 190 | } else if ($input->hasParameterOption('--delete')) { |
191 | 191 | if ($input->hasParameterOption('--error-if-not-exists') && $value === null) { |
192 | - $output->writeln('<error>The setting does not exist for user "' . $uid . '".</error>'); |
|
192 | + $output->writeln('<error>The setting does not exist for user "'.$uid.'".</error>'); |
|
193 | 193 | return 1; |
194 | 194 | } |
195 | 195 | |
@@ -212,7 +212,7 @@ discard block |
||
212 | 212 | $output->writeln($input->getOption('default-value')); |
213 | 213 | return 0; |
214 | 214 | } else { |
215 | - $output->writeln('<error>The setting does not exist for user "' . $uid . '".</error>'); |
|
215 | + $output->writeln('<error>The setting does not exist for user "'.$uid.'".</error>'); |
|
216 | 216 | return 1; |
217 | 217 | } |
218 | 218 | } |