Completed
Pull Request — master (#12)
by Paul
03:36
created
src/IcoFileService.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -122,13 +122,13 @@
 block discarded – undo
122 122
     {
123 123
         try {
124 124
             $data = file_get_contents($file);
125
-            if ($data!==false) {
125
+            if ($data !== false) {
126 126
                 return $this->parser->parse($data);
127 127
             }
128 128
             throw new \InvalidArgumentException("file could not be loaded");
129 129
         }
130 130
         catch (\Exception $e) {
131
-            throw new \InvalidArgumentException("file could not be loaded (".$e->getMessage().")");
131
+            throw new \InvalidArgumentException("file could not be loaded (" . $e->getMessage() . ")");
132 132
         }
133 133
     }
134 134
 
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -126,8 +126,7 @@
 block discarded – undo
126 126
                 return $this->parser->parse($data);
127 127
             }
128 128
             throw new \InvalidArgumentException("file could not be loaded");
129
-        }
130
-        catch (\Exception $e) {
129
+        } catch (\Exception $e) {
131 130
             throw new \InvalidArgumentException("file could not be loaded (".$e->getMessage().")");
132 131
         }
133 132
     }
Please login to merge, or discard this patch.