Completed
Pull Request — master (#30)
by
unknown
03:16
created
src/FioRead.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -89,6 +89,9 @@
 block discarded – undo
89 89
 		return $this->requestUrl;
90 90
 	}
91 91
 
92
+	/**
93
+	 * @param string $apiUrl
94
+	 */
92 95
 	private function download($apiUrl /* ... params */)
93 96
 	{
94 97
 		$args = func_get_args();
Please login to merge, or discard this patch.
src/Request/Pay/Payment/Property.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -116,7 +116,7 @@  discard block
 block discarded – undo
116 116
 	}
117 117
 
118 118
 	/**
119
-	 * @param string|DateTime $str
119
+	 * @param string $str
120 120
 	 * @return self
121 121
 	 */
122 122
 	public function setDate($str)
@@ -173,6 +173,9 @@  discard block
 block discarded – undo
173 173
 	 */
174 174
 	abstract protected function getExpectedProperty();
175 175
 
176
+	/**
177
+	 * @return string
178
+	 */
176 179
 	abstract public function getStartXmlElement();
177 180
 
178 181
 	private function getProperties()
Please login to merge, or discard this patch.
src/Request/Pay/XMLFile.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -20,6 +20,9 @@
 block discarded – undo
20 20
 	/** @var string */
21 21
 	private $temp;
22 22
 
23
+	/**
24
+	 * @param string $temp
25
+	 */
23 26
 	public function __construct($temp)
24 27
 	{
25 28
 		$this->temp = $temp;
Please login to merge, or discard this patch.
src/Request/Queue.php 1 patch
Doc Comments   +11 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;
@@ -60,7 +63,7 @@  discard block
 block discarded – undo
60 63
 	/**
61 64
 	 * @param $token
62 65
 	 * @param string $url
63
-	 * @return mixed|string
66
+	 * @return GuzzleHttp\Psr7\Stream
64 67
 	 * @throws Fio\QueueLimitException
65 68
 	 * @throws Fio\ServiceUnavailableException
66 69
 	 */
@@ -91,7 +94,7 @@  discard block
 block discarded – undo
91 94
 
92 95
 	/**
93 96
 	 * @param $token
94
-	 * @param $fallback
97
+	 * @param \Closure $fallback
95 98
 	 * @param string $action
96 99
 	 * @return GuzzleHttp\Psr7\Stream
97 100
 	 * @throws Fio\QueueLimitException
@@ -154,6 +157,9 @@  discard block
 block discarded – undo
154 157
 		}
155 158
 	}
156 159
 
160
+	/**
161
+	 * @param string $filename
162
+	 */
157 163
 	private static function sleep($filename)
158 164
 	{
159 165
 		$criticalTime = time() - filemtime($filename);
@@ -176,6 +182,9 @@  discard block
 block discarded – undo
176 182
 		return self::$tokens[$key];
177 183
 	}
178 184
 
185
+	/**
186
+	 * @param string $filename
187
+	 */
179 188
 	private static function safeProtocol($filename)
180 189
 	{
181 190
 		return Utils\SafeStream::PROTOCOL . '://' . $filename;
Please login to merge, or discard this patch.