@@ -93,7 +93,7 @@ discard block |
||
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 |
||
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 |
||
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 | } |
@@ -29,7 +29,7 @@ |
||
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 | /** |