@@ -48,7 +48,7 @@ discard block |
||
48 | 48 | |
49 | 49 | $offset = $this->getUpdateFrequency(); |
50 | 50 | |
51 | - if ($time > $this->lastRun + $offset) return true; |
|
51 | + if ($time > $this->lastRun+$offset) return true; |
|
52 | 52 | else return false; |
53 | 53 | } |
54 | 54 | |
@@ -70,8 +70,8 @@ discard block |
||
70 | 70 | $num = (int) $frequency; |
71 | 71 | $unit = strtoupper(trim(str_replace($num, '', $frequency))); |
72 | 72 | if ($frequency == 'always') return 0; |
73 | - else if ($frequency == 'never') return self::D*3650; //Not quite never, in 10 years will cause issues on 32 bit PHP builds re 2038 problem |
|
73 | + else if ($frequency == 'never') return self::D * 3650; //Not quite never, in 10 years will cause issues on 32 bit PHP builds re 2038 problem |
|
74 | 74 | |
75 | - return $num * constant(self::class . '::' . $unit); |
|
75 | + return $num * constant(self::class.'::'.$unit); |
|
76 | 76 | } |
77 | 77 | } |
@@ -129,6 +129,6 @@ |
||
129 | 129 | |
130 | 130 | |
131 | 131 | private function sortPseudo($a, $b) { |
132 | - return count($a->pseudo) < count($b->pseudo) ? -1 :1; |
|
132 | + return count($a->pseudo) < count($b->pseudo) ? -1 : 1; |
|
133 | 133 | } |
134 | 134 | } |