Passed
Push — master ( 0c4a9b...e71e3f )
by Thierry
02:14
created
src/Library/Noty/NotyLibrary.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -85,7 +85,7 @@  discard block
 block discarded – undo
85 85
      */
86 86
     protected function alert(string $sMessage, string $sTitle, string $sType): string
87 87
     {
88
-        if($this->returnCode())
88
+        if ($this->returnCode())
89 89
         {
90 90
             return "noty({text:" . $sMessage . ", type:'" . $sType . "', layout: 'topCenter'})";
91 91
         }
@@ -133,7 +133,7 @@  discard block
 block discarded – undo
133 133
     public function confirm(string $sQuestion, string $sYesScript, string $sNoScript): string
134 134
     {
135 135
         // $sTitle = $this->helper()->getQuestionTitle();
136
-        if(!$sNoScript)
136
+        if (!$sNoScript)
137 137
         {
138 138
             return "jaxon.dialogs.noty.confirm(" . $sQuestion . ",'',function(){" . $sYesScript . ";})";
139 139
         }
Please login to merge, or discard this patch.