Passed
Push — master ( 1b0b1a...3e2a55 )
by Tomasz
03:37
created
web/lib/admin/domain/SilverbulletUser.php 1 patch
Braces   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -120,7 +120,7 @@  discard block
 block discarded – undo
120 120
         $tokenExpiry = date('Y-m-d H:i:s', strtotime($date));
121 121
         if($tokenExpiry > $this->defaultUserExpiry){
122 122
             $this->set(self::EXPIRY, $tokenExpiry);
123
-        }else{
123
+        } else{
124 124
             $this->clear();
125 125
         }
126 126
     }
@@ -142,9 +142,9 @@  discard block
 block discarded – undo
142 142
         $days = $this->getAcknowledgeDays();
143 143
         if($days <= $max * 0.2 && $days > $max * 0.1){
144 144
             return self::LEVEL_YELLOW;
145
-        }elseif ($days <= $max * 0.1){
145
+        } elseif ($days <= $max * 0.1){
146 146
             return self::LEVEL_RED;
147
-        }else{
147
+        } else{
148 148
             return self::LEVEL_GREEN;
149 149
         }
150 150
     }
@@ -238,7 +238,7 @@  discard block
 block discarded – undo
238 238
             foreach ($this->certificates as $certificate) {
239 239
                 $certificate->revoke($profile);
240 240
             }
241
-        }else{
241
+        } else{
242 242
             $this->set(self::DEACTIVATION_TIME, '2000-01-01 00:00:00');
243 243
         }
244 244
     }
Please login to merge, or discard this patch.