Passed
Branch master (1774e9)
by Thierry
04:28
created
src/Libraries/SweetAlert/Plugin.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -122,8 +122,7 @@
 block discarded – undo
122 122
         if(!$noScript)
123 123
         {
124 124
             return "jaxon.dialogs.swal.confirm(" . $question . ",'" . $title . "',function(){" . $yesScript . ";})";
125
-        }
126
-        else
125
+        } else
127 126
         {
128 127
             return "jaxon.dialogs.swal.confirm(" . $question . ",'" . $title . "',function(){" . $yesScript . ";},function(){" . $noScript . ";})";
129 128
         }
Please login to merge, or discard this patch.
src/Libraries/Toastr/Plugin.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -79,8 +79,7 @@
 block discarded – undo
79 79
             if(($title))
80 80
             {
81 81
                 return "toastr." . $type . "(" . $message . ", '" . $title . "')";
82
-            }
83
-            else
82
+            } else
84 83
             {
85 84
                 return "toastr." . $type . "(" . $message . ")";
86 85
             }
Please login to merge, or discard this patch.
src/Libraries/PNotify/Plugin.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -124,8 +124,7 @@
 block discarded – undo
124 124
         if(!$noScript)
125 125
         {
126 126
             return "jaxon.dialogs.pnotify.confirm(" . $question . ",'" . $title . "',function(){" . $yesScript . ";})";
127
-        }
128
-        else
127
+        } else
129 128
         {
130 129
             return "jaxon.dialogs.pnotify.confirm(" . $question . ",'" . $title . "',function(){" . $yesScript . ";},function(){" . $noScript . ";})";
131 130
         }
Please login to merge, or discard this patch.
src/Dialog.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -185,8 +185,7 @@
 block discarded – undo
185 185
             // Set the Response instance
186 186
             $library->setResponse($this->response());
187 187
             return $library;
188
-        }
189
-        catch(\Exception $e)
188
+        } catch(\Exception $e)
190 189
         {
191 190
             return null;
192 191
         }
Please login to merge, or discard this patch.