Passed
Push — master ( b34d93...aea763 )
by Thierry
03:02 queued 24s
created
src/Ui/Dialog/Library/AlertLibrary.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -29,8 +29,7 @@
 block discarded – undo
29 29
      */
30 30
     public function confirm(string $sQuestion, string $sYesScript, string $sNoScript): string
31 31
     {
32
-        return empty($sNoScript) ? 'if(confirm(' . $sQuestion . ')){' . $sYesScript . ';}' :
33
-            'if(confirm(' . $sQuestion . ')){' . $sYesScript . ';}else{' . $sNoScript . ';}';
32
+        return empty($sNoScript) ? 'if(confirm(' . $sQuestion . ')){' . $sYesScript . ';}' : 'if(confirm(' . $sQuestion . ')){' . $sYesScript . ';}else{' . $sNoScript . ';}';
34 33
     }
35 34
 
36 35
     /**
Please login to merge, or discard this patch.