Passed
Branch master (a45bc4)
by David
18:42
created
majima/Dwoo/Plugins/Functions/PluginInherits.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -105,11 +105,9 @@
 block discarded – undo
105 105
                     );
106 106
                 }
107 107
                 $parent = $compiler->getCore()->templateFactory($resource, $identifier, null, null, null, $curTpl);
108
-            }
109
-            catch (SecurityException $e) {
108
+            } catch (SecurityException $e) {
110 109
                 throw new CompilationException($compiler, 'Inherits : Security restriction : ' . $e->getMessage());
111
-            }
112
-            catch (Exception $e) {
110
+            } catch (Exception $e) {
113 111
                 throw new CompilationException($compiler, 'Inherits : ' . $e->getMessage());
114 112
             }
115 113
 
Please login to merge, or discard this patch.