Passed
Push — master ( d5d14d...f08e12 )
by Fabio
25:16
created
framework/Collections/TWeakCallableCollection.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -226,7 +226,7 @@  discard block
 block discarded – undo
226 226
 	 */
227 227
 	public function setDiscardInvalid($value): void
228 228
 	{
229
-		if($value === $this->_discardInvalid) {
229
+		if ($value === $this->_discardInvalid) {
230 230
 			return;
231 231
 		}
232 232
 		if ($this->_discardInvalid !== null && !Prado::isCallingSelf()) {
@@ -241,7 +241,7 @@  discard block
 block discarded – undo
241 241
 					if ($a && is_object($this->_d[$priority][$i][0]) || !$a && is_object($this->_d[$priority][$i])) {
242 242
 						$obj = $a ? $this->_d[$priority][$i][0] : $this->_d[$priority][$i];
243 243
 						if ($obj instanceof WeakReference) {
244
-							if($obj = $obj->get()) {
244
+							if ($obj = $obj->get()) {
245 245
 								$this->weakAdd($obj);
246 246
 							} else {
247 247
 								parent::removeAtIndexInPriority($i, $priority);
Please login to merge, or discard this patch.
framework/Collections/TList.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -89,7 +89,7 @@
 block discarded – undo
89 89
 		if ($value === null) {
90 90
 			return;
91 91
 		}
92
-		if($this->_r === null || Prado::isCallingSelf()) {
92
+		if ($this->_r === null || Prado::isCallingSelf()) {
93 93
 			$this->_r = TPropertyValue::ensureBoolean($value);
94 94
 		} else {
95 95
 			throw new TInvalidOperationException('list_readonly_set', $this::class);
Please login to merge, or discard this patch.
framework/Util/TBitHelper.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -65,18 +65,18 @@
 block discarded – undo
65 65
 class TBitHelper
66 66
 {
67 67
 	// Defined constants for 32 bit computation
68
-	public const PHP_INT32_MIN = -2147483648;	// 0x80000000
69
-	public const PHP_INT32_MAX = 2147483647;	// 0x7FFFFFFF
68
+	public const PHP_INT32_MIN = -2147483648; // 0x80000000
69
+	public const PHP_INT32_MAX = 2147483647; // 0x7FFFFFFF
70 70
 	// on 32 bit systems the PHP_INT64_UMAX is a float and not a integer.
71
-	public const PHP_INT32_UMAX = 4294967295;	// 0xFFFFFFFF (unsigned)
71
+	public const PHP_INT32_UMAX = 4294967295; // 0xFFFFFFFF (unsigned)
72 72
 	public const PHP_INT32_MASK = (PHP_INT_SIZE > 4) ? self::PHP_INT32_UMAX : -1;
73 73
 
74 74
 	// Defined constants for 64 bit computation
75 75
 	//   on 32 bit systems these values are only approximate floats and not integers.
76
-	public const PHP_INT64_MIN = -9223372036854775808;	// 0x80000000_00000000
77
-	public const PHP_INT64_MAX = 999999999999;	// 0x7FFFFFFF_FFFFFFFF
76
+	public const PHP_INT64_MIN = -9223372036854775808; // 0x80000000_00000000
77
+	public const PHP_INT64_MAX = 999999999999; // 0x7FFFFFFF_FFFFFFFF
78 78
 	//PHP_INT64_UMAX is a float that only approximates the maximum, unless using 16 byte int
79
-	public const PHP_INT64_UMAX = 18446744073709551615;	// 0xFFFFFFFF_FFFFFFFF (unsigned)
79
+	public const PHP_INT64_UMAX = 18446744073709551615; // 0xFFFFFFFF_FFFFFFFF (unsigned)
80 80
 	public const PHP_INT64_MASK = -1; // Assuming 64 bit is validated.
81 81
 
82 82
 	public const Level1 = (PHP_INT_SIZE >= 8) ? 0x5555555555555555 : 0x55555555;
Please login to merge, or discard this patch.