Passed
Push — main ( 12fa3a...d19c5e )
by Thierry
13:55
created
app/helpers.php 1 patch
Spacing   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -34,12 +34,11 @@
 block discarded – undo
34 34
 {
35 35
     $icon = '<i class="fa fa-toggle-off"></i>';
36 36
     $linkClass = "btn-add-$name";
37
-    if(($payment))
37
+    if (($payment))
38 38
     {
39 39
         $icon = '<i class="fa fa-toggle-on"></i>';
40 40
         $linkClass = "btn-del-$name";
41 41
     }
42 42
 
43
-    return $sessionIsClosed ? $icon :
44
-        '<a href="javascript:void(0)" class="' . $linkClass . '">' . $icon . '</a>';
43
+    return $sessionIsClosed ? $icon : '<a href="javascript:void(0)" class="' . $linkClass . '">' . $icon . '</a>';
45 44
 }
Please login to merge, or discard this patch.