Passed
Push — master ( 1955b9...c5754d )
by Darío
06:42
created
module/Catcher/Module.php 1 patch
Braces   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -53,8 +53,7 @@  discard block
 block discarded – undo
53 53
                 $data["messages"] = $validator->getMessages();
54 54
                 throw new \Exception("Module config errros in user.config!", 300);
55 55
             }
56
-        }
57
-        catch (\Exception $e)
56
+        } catch (\Exception $e)
58 57
         {
59 58
             $file = str_replace('\\', '', __CLASS__);
60 59
             $storage = new \Drone\Exception\Storage("cache/$file.json");
@@ -85,10 +84,11 @@  discard block
 block discarded – undo
85 84
             $layoutManager->setParams($data);
86 85
 
87 86
             # for AJAX requests!
88
-            if ($c->isXmlHttpRequest())
89
-                $layoutManager->content();
90
-            else
91
-                $layoutManager->fromTemplate($this, 'blank');
87
+            if ($c->isXmlHttpRequest()) {
88
+                            $layoutManager->content();
89
+            } else {
90
+                            $layoutManager->fromTemplate($this, 'blank');
91
+            }
92 92
         }
93 93
 	}
94 94
 
Please login to merge, or discard this patch.