Completed
Push — master ( fc07f9...c011fc )
by Milan
01:50
created
src/Request/Queue.php 1 patch
Doc Comments   +10 added lines, -2 removed lines patch added patch discarded remove patch
@@ -26,6 +26,9 @@  discard block
 block discarded – undo
26 26
 	/** @var string */
27 27
 	private $tempDir;
28 28
 
29
+	/**
30
+	 * @param string $tempDir
31
+	 */
29 32
 	public function __construct($tempDir)
30 33
 	{
31 34
 		$this->tempDir = $tempDir;
@@ -93,8 +96,7 @@  discard block
 block discarded – undo
93 96
 
94 97
 	/**
95 98
 	 * @param $token
96
-	 * @param $fallback
97
-	 * @param string $action
99
+	 * @param \Closure $fallback
98 100
 	 * @return ResponseInterface
99 101
 	 * @throws Fio\QueueLimitException
100 102
 	 * @throws Fio\ServiceUnavailableException
@@ -152,6 +154,9 @@  discard block
 block discarded – undo
152 154
 		}
153 155
 	}
154 156
 
157
+	/**
158
+	 * @param string $filename
159
+	 */
155 160
 	private static function sleep($filename)
156 161
 	{
157 162
 		$criticalTime = time() - filemtime($filename);
@@ -174,6 +179,9 @@  discard block
 block discarded – undo
174 179
 		return self::$tokens[$key];
175 180
 	}
176 181
 
182
+	/**
183
+	 * @param string $filename
184
+	 */
177 185
 	private static function safeProtocol($filename)
178 186
 	{
179 187
 		return Utils\SafeStream::PROTOCOL . '://' . $filename;
Please login to merge, or discard this patch.