Completed
Push — master ( 23e35e...f8660b )
by Tom
01:53
created
src/Rule.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 }
Please login to merge, or discard this patch.
src/SheetLoader.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -129,6 +129,6 @@
 block discarded – undo
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
 }
Please login to merge, or discard this patch.