@@ -120,7 +120,7 @@ discard block |
||
120 | 120 | $keyword = ($uninstall) ? 'uninstall' : 'reset'; |
121 | 121 | |
122 | 122 | $question = new Question( |
123 | - '<comment>Please confirm this destructive operation by typing \'' . $keyword |
|
123 | + '<comment>Please confirm this destructive operation by typing \''.$keyword |
|
124 | 124 | . '\'</comment>: ', '' |
125 | 125 | ); |
126 | 126 | |
@@ -137,7 +137,7 @@ discard block |
||
137 | 137 | $this->coreQueryBuilder->uninstall(); |
138 | 138 | } |
139 | 139 | |
140 | - $output->writeln('<info>' . $keyword . ' done</info>'); |
|
140 | + $output->writeln('<info>'.$keyword.' done</info>'); |
|
141 | 141 | |
142 | 142 | return 0; |
143 | 143 | } |
@@ -169,7 +169,7 @@ |
||
169 | 169 | */ |
170 | 170 | private function output(string $message): void { |
171 | 171 | if (!is_null($this->output)) { |
172 | - $this->output->writeln('- ' . $message); |
|
172 | + $this->output->writeln('- '.$message); |
|
173 | 173 | } |
174 | 174 | } |
175 | 175 |
@@ -400,15 +400,15 @@ |
||
400 | 400 | * @throws FederatedUserNotFoundException |
401 | 401 | */ |
402 | 402 | public function importFromDatabase(array $data, string $prefix = ''): INC22QueryRow { |
403 | - if ($this->get($prefix . 'single_id', $data) === '') { |
|
403 | + if ($this->get($prefix.'single_id', $data) === '') { |
|
404 | 404 | throw new FederatedUserNotFoundException(); |
405 | 405 | } |
406 | 406 | |
407 | - $this->setSingleId($this->get($prefix . 'single_id', $data)); |
|
408 | - $this->setUserId($this->get($prefix . 'user_id', $data)); |
|
409 | - $this->setUserType($this->getInt($prefix . 'user_type', $data)); |
|
410 | - $this->setDisplayName($this->get($prefix . 'cached_name', $data)); |
|
411 | - $this->setInstance($this->get($prefix . 'instance', $data)); |
|
407 | + $this->setSingleId($this->get($prefix.'single_id', $data)); |
|
408 | + $this->setUserId($this->get($prefix.'user_id', $data)); |
|
409 | + $this->setUserType($this->getInt($prefix.'user_type', $data)); |
|
410 | + $this->setDisplayName($this->get($prefix.'cached_name', $data)); |
|
411 | + $this->setInstance($this->get($prefix.'instance', $data)); |
|
412 | 412 | |
413 | 413 | $this->getManager()->manageImportFromDatabase($this, $data, $prefix); |
414 | 414 |