Completed
Push — master ( 01ff7b...a747b1 )
by Владислав
04:20 queued 02:09
created
src/core/DeCaptchaAbstract.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -109,9 +109,9 @@
 block discarded – undo
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');
Please login to merge, or discard this patch.