Passed
Push — master ( c9d535...a1a723 )
by Thierry
10:07 queued 02:14
created
src/start.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -29,8 +29,7 @@
 block discarded – undo
29 29
         try
30 30
         {
31 31
             $jaxon->dialog()->registerLibrary($sClass, $sClass::NAME);
32
-        }
33
-        catch(SetupException $e){}
32
+        } catch(SetupException $e){}
34 33
     }
35 34
     // Register the template dir into the template renderer
36 35
     $jaxon->template()->addNamespace('jaxon::dialogs', dirname(__DIR__) . '/templates');
Please login to merge, or discard this patch.
src/XDialog/XDialogLibrary.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -90,8 +90,7 @@
 block discarded – undo
90 90
             {
91 91
                 $aOptions['buttons']['cancel'] = $aButton['title'];
92 92
                 $aOptions['oncancel'] = 'jaxon.dialogs.xdialog.hide()';
93
-            }
94
-            else
93
+            } else
95 94
             {
96 95
                 $aOptions['buttons']['ok'] = $aButton['title'];
97 96
                 $aOptions['onok'] = $aButton['click'];
Please login to merge, or discard this patch.