Completed
Push — master ( 4f2cea...0c21fc )
by Milan
02:45
created
src/Request/Queue.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -93,7 +93,7 @@  discard block
 block discarded – undo
93 93
 					throw $e;
94 94
 				} elseif ($i >= $this->limitLoop) {
95 95
 					fclose($file);
96
-					throw new Fio\QueueLimitException('You have limit up requests to server ' . $this->limitLoop);
96
+					throw new Fio\QueueLimitException('You have limit up requests to server '.$this->limitLoop);
97 97
 				}
98 98
 				self::sleep($tempFile);
99 99
 				$next = TRUE;
@@ -120,7 +120,7 @@  discard block
 block discarded – undo
120 120
 	{
121 121
 		$key = substr($token, 10, -10);
122 122
 		if (!isset(self::$tokens[$key])) {
123
-			self::$tokens[$key] = $this->tempDir . DIRECTORY_SEPARATOR . md5($key);
123
+			self::$tokens[$key] = $this->tempDir.DIRECTORY_SEPARATOR.md5($key);
124 124
 		}
125 125
 
126 126
 		return self::$tokens[$key];
@@ -128,7 +128,7 @@  discard block
 block discarded – undo
128 128
 
129 129
 	private static function safeProtocol($filename)
130 130
 	{
131
-		return Utils\SafeStream::PROTOCOL . '://' . $filename;
131
+		return Utils\SafeStream::PROTOCOL.'://'.$filename;
132 132
 	}
133 133
 
134 134
 }
Please login to merge, or discard this patch.
src/Utils/FioFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
 
30 30
 	private function setTemp($temp)
31 31
 	{
32
-		$this->temp = $temp ? : sys_get_temp_dir();
32
+		$this->temp = $temp ?: sys_get_temp_dir();
33 33
 	}
34 34
 
35 35
 	/**
Please login to merge, or discard this patch.