Completed
Pull Request — master (#20)
by
unknown
01:34
created
src/Iblock/Importer.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -122,8 +122,9 @@
 block discarded – undo
122 122
     {
123 123
         $handle = fopen($this->config['path'], "r");
124 124
 
125
-        if (!$handle)
126
-            throw new ImportException('Unable to open file, or file not exist');
125
+        if (!$handle) {
126
+                    throw new ImportException('Unable to open file, or file not exist');
127
+        }
127 128
 
128 129
         if (!$this->import->CheckIfFileIsCML($this->config['path'])) {
129 130
             throw new ImportException('File is not valid');
Please login to merge, or discard this patch.