@@ -198,8 +198,7 @@ |
||
| 198 | 198 | { |
| 199 | 199 | return $this->xAppContainer != null && $this->xAppContainer->has($sClass) ? |
| 200 | 200 | $this->xAppContainer->get($sClass) : $this->xLibContainer->offsetGet($sClass); |
| 201 | - } |
|
| 202 | - catch(Throwable $e) |
|
| 201 | + } catch(Throwable $e) |
|
| 203 | 202 | { |
| 204 | 203 | $xLogger = $this->g(LoggerInterface::class); |
| 205 | 204 | $xTranslator = $this->g(Translator::class); |
@@ -126,8 +126,7 @@ discard block |
||
| 126 | 126 | throw new RequestException($this->xTranslator->trans('errors.upload.access'));
|
| 127 | 127 | } |
| 128 | 128 | return $sUploadDir; |
| 129 | - } |
|
| 130 | - catch(FilesystemException $e) |
|
| 129 | + } catch(FilesystemException $e) |
|
| 131 | 130 | {
|
| 132 | 131 | $this->xLogger->error('Filesystem error.', ['message' => $e->getMessage()]);
|
| 133 | 132 | throw new RequestException($this->xTranslator->trans('errors.upload.access'));
|
@@ -235,8 +234,7 @@ discard block |
||
| 235 | 234 | $xContent = $aFiles['temp']->getStream(); |
| 236 | 235 | $aFiles['user']->filesystem()->write($sPath, $xContent); |
| 237 | 236 | } |
| 238 | - } |
|
| 239 | - catch(FilesystemException $e) |
|
| 237 | + } catch(FilesystemException $e) |
|
| 240 | 238 | {
|
| 241 | 239 | $this->xLogger->error('Filesystem error.', ['message' => $e->getMessage()]);
|
| 242 | 240 | throw new RequestException($this->xTranslator->trans('errors.upload.access'));
|