Completed
Branch newinternal (1fa324)
by Simon
03:50
created
includes/Router/RequestRouter.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -423,7 +423,7 @@
 block discarded – undo
423 423
 	}
424 424
 
425 425
 	/**
426
-	 * @return callable
426
+	 * @return string[]
427 427
 	 */
428 428
 	protected function getDefaultRoute()
429 429
 	{
Please login to merge, or discard this patch.
includes/Router/PublicRequestRouter.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -423,7 +423,7 @@
 block discarded – undo
423 423
 	}
424 424
 
425 425
 	/**
426
-	 * @return callable
426
+	 * @return string[]
427 427
 	 */
428 428
 	protected function getDefaultRoute()
429 429
 	{
Please login to merge, or discard this patch.
includes/DataObjects/Request.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -196,7 +196,7 @@
 block discarded – undo
196 196
 	}
197 197
 
198 198
 	/**
199
-	 * @return int|null
199
+	 * @return integer
200 200
 	 */
201 201
 	public function getReserved()
202 202
 	{
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -101,7 +101,7 @@  discard block
 block discarded – undo
101 101
 				throw new OptimisticLockFailedException();
102 102
 			}
103 103
 
104
-			$this->updateversion++;
104
+			$this->updateversion ++;
105 105
 		}
106 106
 	}
107 107
 
@@ -407,7 +407,7 @@  discard block
 block discarded – undo
407 407
 			. '|' . $this->forwardedip  // } private data not known to those without access
408 408
 			. '|' . $this->useragent    // }
409 409
 			. '|' . $this->email        // }
410
-			. '|' . $this->status;      // to rudimentarily invalidate the token on status change
410
+			. '|' . $this->status; // to rudimentarily invalidate the token on status change
411 411
 
412 412
 		return hash('sha256', $data);
413 413
 	}
Please login to merge, or discard this patch.
includes/WebStart.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -205,7 +205,7 @@
 block discarded – undo
205 205
 	{
206 206
 		// Clean up anything we splurged after sending the page.
207 207
 		if (ob_get_level() > 0) {
208
-			for ($i = ob_get_level(); $i > 0; $i--) {
208
+			for ($i = ob_get_level(); $i > 0; $i --) {
209 209
 				ob_end_clean();
210 210
 			}
211 211
 		}
Please login to merge, or discard this patch.
includes/Helpers/LogHelper.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@  discard block
 block discarded – undo
67 67
 			$flag = false;
68 68
 
69 69
 			$loopLimit = (count($items) - 1);
70
-			for ($i = 0; $i < $loopLimit; $i++) {
70
+			for ($i = 0; $i < $loopLimit; $i ++) {
71 71
 				// are these two items out of order?
72 72
 				if ($sortKey($items[$i]) > $sortKey($items[$i + 1])) {
73 73
 					// swap them
@@ -316,7 +316,7 @@  discard block
 block discarded – undo
316 316
 		}
317 317
 
318 318
 		$users = User::getUsernames($userIds, $database);
319
-		$users[-1] = User::getCommunity()->getUsername();
319
+		$users[- 1] = User::getCommunity()->getUsername();
320 320
 
321 321
 		$logData = array();
322 322
 
Please login to merge, or discard this patch.
includes/Helpers/DebugHelper.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
 		$count = 0;
28 28
 		foreach ($backtrace as $line) {
29 29
 			if ($count == 0) {
30
-				$count++;
30
+				$count ++;
31 31
 				continue;
32 32
 			}
33 33
 
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
 			$output .= $line['function'] . "(...)";
41 41
 			$output .= " [{$line['file']}#{$line['line']}\r\n";
42 42
 
43
-			$count++;
43
+			$count ++;
44 44
 		}
45 45
 
46 46
 		return $output;
Please login to merge, or discard this patch.
includes/Providers/XffTrustProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -168,7 +168,7 @@
 block discarded – undo
168 168
 		$list = array();
169 169
 
170 170
 		$bindecBHigh = bindec($bhigh);
171
-		for ($x = bindec($blow); $x <= $bindecBHigh; $x++) {
171
+		for ($x = bindec($blow); $x <= $bindecBHigh; $x ++) {
172 172
 			$list[] = long2ip($x);
173 173
 		}
174 174
 
Please login to merge, or discard this patch.
includes/Fragments/RequestData.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -321,7 +321,7 @@
 block discarded – undo
321 321
 				$showLinks = (!$trust || $proxyAddress == $origin) && !$proxyIsInPrivateRange;
322 322
 				$requestProxyData[$proxyIndex]['showlinks'] = $showLinks;
323 323
 
324
-				$proxyIndex++;
324
+				$proxyIndex ++;
325 325
 			}
326 326
 
327 327
 			$this->assign("requestProxyData", $requestProxyData);
Please login to merge, or discard this patch.
includes/DataObjects/Comment.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -114,7 +114,7 @@
 block discarded – undo
114 114
 				throw new OptimisticLockFailedException();
115 115
 			}
116 116
 
117
-			$this->updateversion++;
117
+			$this->updateversion ++;
118 118
 		}
119 119
 	}
120 120
 
Please login to merge, or discard this patch.