@@ -109,9 +109,9 @@ |
||
| 109 | 109 | */ |
| 110 | 110 | protected function getFilePath($fileName) { |
| 111 | 111 | if (strpos($fileName, 'http://') !== false || strpos($fileName, 'https://') !== false) { |
| 112 | - try{ |
|
| 112 | + try { |
|
| 113 | 113 | $current = file_get_contents($fileName); |
| 114 | - } catch(\Exception $e) { |
|
| 114 | + } catch (\Exception $e) { |
|
| 115 | 115 | throw new DeCaptchaErrors(DeCaptchaErrors::ERROR_FILE_IS_NOT_LOADED, $fileName, $this->errorLang); |
| 116 | 116 | } |
| 117 | 117 | $path = tempnam(sys_get_temp_dir(), 'captcha'); |