@@ -115,7 +115,7 @@ discard block |
||
| 115 | 115 | /** |
| 116 | 116 | * Gets blob contentStream. |
| 117 | 117 | * |
| 118 | - * @return \resource |
|
| 118 | + * @return resource |
|
| 119 | 119 | */ |
| 120 | 120 | public function getContentStream() |
| 121 | 121 | { |
@@ -125,7 +125,7 @@ discard block |
||
| 125 | 125 | /** |
| 126 | 126 | * Sets blob contentStream. |
| 127 | 127 | * |
| 128 | - * @param \resource $contentStream The stream handle. |
|
| 128 | + * @param resource|null $contentStream The stream handle. |
|
| 129 | 129 | * |
| 130 | 130 | * @return void |
| 131 | 131 | */ |
@@ -106,7 +106,7 @@ |
||
| 106 | 106 | /** |
| 107 | 107 | * Indicates if metadata is included or not. |
| 108 | 108 | * |
| 109 | - * @return string |
|
| 109 | + * @return boolean |
|
| 110 | 110 | */ |
| 111 | 111 | public function getIncludeMetadata() |
| 112 | 112 | { |
@@ -157,7 +157,7 @@ |
||
| 157 | 157 | /** |
| 158 | 158 | * Gets the response of the failue. |
| 159 | 159 | * |
| 160 | - * @return string |
|
| 160 | + * @return ResponseInterface |
|
| 161 | 161 | */ |
| 162 | 162 | public function getResponse() |
| 163 | 163 | { |
@@ -81,7 +81,7 @@ |
||
| 81 | 81 | /** |
| 82 | 82 | * Converts this signed identifiers to XML representation. |
| 83 | 83 | * |
| 84 | - * @param XmlSerializer $xmlSerializer The XML serializer. |
|
| 84 | + * @param XmlSerializer $serializer The XML serializer. |
|
| 85 | 85 | * |
| 86 | 86 | * @internal |
| 87 | 87 | * |
@@ -49,7 +49,6 @@ |
||
| 49 | 49 | * getProtocolVersion() |
| 50 | 50 | * (getUri() && getMethod()) || (getStatusCode() && getReasonPhrase()) |
| 51 | 51 | * |
| 52 | - * @param object $message The message to be serialized. |
|
| 53 | 52 | * |
| 54 | 53 | * @return string |
| 55 | 54 | */ |
@@ -70,7 +70,7 @@ discard block |
||
| 70 | 70 | /** |
| 71 | 71 | * Takes an array and produces XML based on it. |
| 72 | 72 | * |
| 73 | - * @param XMLWriter $xmlw XMLWriter object that was previously instanted |
|
| 73 | + * @param \XMLWriter $xmlw XMLWriter object that was previously instanted |
|
| 74 | 74 | * and is used for creating the XML. |
| 75 | 75 | * @param array $data Array to be converted to XML. |
| 76 | 76 | * @param string $defaultTag Default XML tag to be used if none specified. |
@@ -109,7 +109,7 @@ discard block |
||
| 109 | 109 | * method is exposed. |
| 110 | 110 | * |
| 111 | 111 | * @param object $targetObject The target object. |
| 112 | - * @param array $methodArray The array of method of the target object. |
|
| 112 | + * @param \ReflectionMethod[] $methodArray The array of method of the target object. |
|
| 113 | 113 | * |
| 114 | 114 | * @return mixed |
| 115 | 115 | */ |
@@ -193,10 +193,8 @@ discard block |
||
| 193 | 193 | * request upon fullfilment |
| 194 | 194 | * @param int $statusCode The expected status code for each of the |
| 195 | 195 | * request generated by generator. |
| 196 | - * @param array $requestOptions The service options for the concurrent |
|
| 197 | - * requests. |
|
| 198 | 196 | * |
| 199 | - * @return array |
|
| 197 | + * @return PromiseInterface |
|
| 200 | 198 | */ |
| 201 | 199 | protected function sendConcurrentAsync( |
| 202 | 200 | callable $generator, |
@@ -333,7 +331,6 @@ discard block |
||
| 333 | 331 | * @param string $path URL path |
| 334 | 332 | * @param array|int $expected Expected Status Codes. |
| 335 | 333 | * @param string $body Request body |
| 336 | - * @param ServiceOptions $options Service options |
|
| 337 | 334 | * |
| 338 | 335 | * @return \GuzzleHttp\Promise\PromiseInterface |
| 339 | 336 | */ |
@@ -113,7 +113,7 @@ discard block |
||
| 113 | 113 | * @param boolean $atLeastOne Indicates that at least one requirement must |
| 114 | 114 | * succeed. |
| 115 | 115 | * |
| 116 | - * @return callable |
|
| 116 | + * @return \Closure |
|
| 117 | 117 | */ |
| 118 | 118 | protected static function getValidator( |
| 119 | 119 | array $requirements, |
@@ -161,7 +161,7 @@ discard block |
||
| 161 | 161 | /** |
| 162 | 162 | * Creates at lease one succeed predicate for the provided list of requirements. |
| 163 | 163 | * |
| 164 | - * @return callable |
|
| 164 | + * @return \Closure |
|
| 165 | 165 | */ |
| 166 | 166 | protected static function atLeastOne() |
| 167 | 167 | { |
@@ -172,7 +172,7 @@ discard block |
||
| 172 | 172 | /** |
| 173 | 173 | * Creates an optional predicate for the provided list of requirements. |
| 174 | 174 | * |
| 175 | - * @return callable |
|
| 175 | + * @return \Closure |
|
| 176 | 176 | */ |
| 177 | 177 | protected static function optional() |
| 178 | 178 | { |
@@ -183,7 +183,7 @@ discard block |
||
| 183 | 183 | /** |
| 184 | 184 | * Creates an required predicate for the provided list of requirements. |
| 185 | 185 | * |
| 186 | - * @return callable |
|
| 186 | + * @return \Closure |
|
| 187 | 187 | */ |
| 188 | 188 | protected static function allRequired() |
| 189 | 189 | { |
@@ -138,7 +138,7 @@ discard block |
||
| 138 | 138 | * |
| 139 | 139 | * @param array $array Array to be used. |
| 140 | 140 | * |
| 141 | - * @return mixed |
|
| 141 | + * @return string |
|
| 142 | 142 | */ |
| 143 | 143 | public static function tryGetKeysChainValue(array $array) |
| 144 | 144 | { |
@@ -282,7 +282,7 @@ discard block |
||
| 282 | 282 | /** |
| 283 | 283 | * Takes an array and produces XML based on it. |
| 284 | 284 | * |
| 285 | - * @param XMLWriter $xmlw XMLWriter object that was previously instanted |
|
| 285 | + * @param \XMLWriter $xmlw XMLWriter object that was previously instanted |
|
| 286 | 286 | * and is used for creating the XML. |
| 287 | 287 | * @param array $data Array to be converted to XML |
| 288 | 288 | * @param string $defaultTag Default XML tag to be used if none specified. |
@@ -498,7 +498,7 @@ discard block |
||
| 498 | 498 | * |
| 499 | 499 | * @param string $key The array key. |
| 500 | 500 | * @param array $haystack The array to be used. |
| 501 | - * @param mixed $default The value to return if $key is not found in $array. |
|
| 501 | + * @param string|null $default The value to return if $key is not found in $array. |
|
| 502 | 502 | * |
| 503 | 503 | * @return mixed |
| 504 | 504 | */ |
@@ -795,7 +795,7 @@ discard block |
||
| 795 | 795 | * Static function used to determine if the request is performed against |
| 796 | 796 | * secondary endpoint. |
| 797 | 797 | * |
| 798 | - * @param Psr\Http\Message\RequestInterface $request The request performed. |
|
| 798 | + * @param \Psr\Http\Message\RequestInterface $request The request performed. |
|
| 799 | 799 | * @param array $options The options of the |
| 800 | 800 | * request. Must contain |
| 801 | 801 | * Resources::ROS_SECONDARY_URI |