@@ -99,7 +99,7 @@ |
||
99 | 99 | * @param string $originalFilename |
100 | 100 | * @param string $errorLog |
101 | 101 | */ |
102 | - public function __construct($status = null, $source = null, $target = null, $tempFile = null, $type = null, $userId = null, $errorDisplayed = null, $originalFilename = null, $errorLog= null) { |
|
102 | + public function __construct($status = null, $source = null, $target = null, $tempFile = null, $type = null, $userId = null, $errorDisplayed = null, $originalFilename = null, $errorLog = null) { |
|
103 | 103 | $this->setStatus($status); |
104 | 104 | $this->setSource($source); |
105 | 105 | $this->setTarget($target); |
@@ -32,12 +32,12 @@ |
||
32 | 32 | * @return TemplateResponse |
33 | 33 | */ |
34 | 34 | public function getForm() { |
35 | - return new TemplateResponse( 'ocr', 'settings-admin', [ |
|
36 | - OcrConstants::LANGUAGES_CONFIG_KEY => $this->config->getAppValue ( 'ocr', OcrConstants::LANGUAGES_CONFIG_KEY), |
|
37 | - OcrConstants::REDIS_CONFIG_KEY_HOST => $this->config->getAppValue ( 'ocr', OcrConstants::REDIS_CONFIG_KEY_HOST), |
|
35 | + return new TemplateResponse('ocr', 'settings-admin', [ |
|
36 | + OcrConstants::LANGUAGES_CONFIG_KEY => $this->config->getAppValue('ocr', OcrConstants::LANGUAGES_CONFIG_KEY), |
|
37 | + OcrConstants::REDIS_CONFIG_KEY_HOST => $this->config->getAppValue('ocr', OcrConstants::REDIS_CONFIG_KEY_HOST), |
|
38 | 38 | OcrConstants::REDIS_CONFIG_KEY_PORT => $this->config->getAppValue('ocr', OcrConstants::REDIS_CONFIG_KEY_PORT), |
39 | 39 | OcrConstants::REDIS_CONFIG_KEY_DB => $this->config->getAppValue('ocr', OcrConstants::REDIS_CONFIG_KEY_DB) |
40 | - ], 'blank' ); |
|
40 | + ], 'blank'); |
|
41 | 41 | } |
42 | 42 | /** |
43 | 43 | * |