@@ -38,7 +38,7 @@ |
||
| 38 | 38 | /** |
| 39 | 39 | * Set a node in the structure |
| 40 | 40 | * |
| 41 | - * @param $path The XPath to use |
|
| 41 | + * @param string $path The XPath to use |
|
| 42 | 42 | * @param $value The new value of the node |
| 43 | 43 | */ |
| 44 | 44 | public function set($path, $value) |
@@ -44,7 +44,7 @@ discard block |
||
| 44 | 44 | * encapsulate your own logic to determine whether the resource has |
| 45 | 45 | * successfully transitioned. When TRUE is returned by the callback, |
| 46 | 46 | * the loop will end. |
| 47 | - * @param int|bool $timeout The maximum timeout in seconds. If the total time taken by the waiter has reached |
|
| 47 | + * @param integer $timeout The maximum timeout in seconds. If the total time taken by the waiter has reached |
|
| 48 | 48 | * or exceed this timeout, the blocking operation will immediately cease. If FALSE |
| 49 | 49 | * is provided, the timeout will never be considered. |
| 50 | 50 | * @param int $sleepPeriod The amount of time to pause between each HTTP request. |
@@ -69,7 +69,7 @@ discard block |
||
| 69 | 69 | /** |
| 70 | 70 | * Internal method used to identify whether a timeout has been exceeded. |
| 71 | 71 | * |
| 72 | - * @param bool|int $timeout |
|
| 72 | + * @param integer $timeout |
|
| 73 | 73 | * @param int $startTime |
| 74 | 74 | * |
| 75 | 75 | * @return bool |
@@ -87,7 +87,7 @@ discard block |
||
| 87 | 87 | * Convenience method providing a blocking operation until the resource transitions to an |
| 88 | 88 | * ``ACTIVE`` status. |
| 89 | 89 | * |
| 90 | - * @param int|bool $timeout The maximum timeout in seconds. If the total time taken by the waiter has reached |
|
| 90 | + * @param integer $timeout The maximum timeout in seconds. If the total time taken by the waiter has reached |
|
| 91 | 91 | * or exceed this timeout, the blocking operation will immediately cease. If FALSE |
| 92 | 92 | * is provided, the timeout will never be considered. |
| 93 | 93 | */ |
@@ -96,6 +96,9 @@ discard block |
||
| 96 | 96 | } |
| 97 | 97 | } |
| 98 | 98 | |
| 99 | + /** |
|
| 100 | + * @param string $type |
|
| 101 | + */ |
|
| 99 | 102 | private function parseDocBlockValue($type, $val) |
| 100 | 103 | { |
| 101 | 104 | if (strpos($type, '[]') === 0 && is_array($val)) { |
@@ -120,6 +123,9 @@ discard block |
||
| 120 | 123 | ]); |
| 121 | 124 | } |
| 122 | 125 | |
| 126 | + /** |
|
| 127 | + * @return string |
|
| 128 | + */ |
|
| 123 | 129 | private function normalizeModelClass($class) |
| 124 | 130 | { |
| 125 | 131 | if (strpos($class, '\\') === false) { |
@@ -166,7 +172,7 @@ discard block |
||
| 166 | 172 | /** |
| 167 | 173 | * @param array $definition |
| 168 | 174 | * |
| 169 | - * @return mixed |
|
| 175 | + * @return ResponseInterface |
|
| 170 | 176 | */ |
| 171 | 177 | public function executeWithState(array $definition) |
| 172 | 178 | { |
@@ -44,7 +44,7 @@ discard block |
||
| 44 | 44 | /** |
| 45 | 45 | * Internal method used when outputting headers in the error description. |
| 46 | 46 | * |
| 47 | - * @param $name |
|
| 47 | + * @param string $name |
|
| 48 | 48 | * |
| 49 | 49 | * @return string |
| 50 | 50 | */ |
@@ -57,7 +57,7 @@ discard block |
||
| 57 | 57 | * Before outputting custom links, it is validated to ensure that the user is not |
| 58 | 58 | * directed off to a broken link. If a 404 is detected, it is hidden. |
| 59 | 59 | * |
| 60 | - * @param $link The proposed link |
|
| 60 | + * @param string $link The proposed link |
|
| 61 | 61 | * |
| 62 | 62 | * @return bool |
| 63 | 63 | */ |
@@ -107,6 +107,9 @@ discard block |
||
| 107 | 107 | return $e; |
| 108 | 108 | } |
| 109 | 109 | |
| 110 | + /** |
|
| 111 | + * @param integer $statusCode |
|
| 112 | + */ |
|
| 110 | 113 | private function getStatusCodeMessage($statusCode) |
| 111 | 114 | { |
| 112 | 115 | $errors = [ |
@@ -140,7 +140,7 @@ discard block |
||
| 140 | 140 | * |
| 141 | 141 | * @param string $name The name of the object |
| 142 | 142 | * |
| 143 | - * @return Object |
|
| 143 | + * @return \OpenStack\Common\Resource\ResourceInterface |
|
| 144 | 144 | */ |
| 145 | 145 | public function getObject($name) |
| 146 | 146 | { |
@@ -188,10 +188,6 @@ discard block |
||
| 188 | 188 | * allowing concatenation when a request is executed against the manifest. |
| 189 | 189 | * |
| 190 | 190 | * @param array $data {@see \OpenStack\ObjectStore\v1\Api::putObject} |
| 191 | - * @param int $data['segmentSize'] The size in Bytes of each segment |
|
| 192 | - * @param string $data['segmentContainer'] The container to which each segment will be uploaded |
|
| 193 | - * @param string $data['segmentPrefix'] The prefix that will come before each segment. If omitted, a default |
|
| 194 | - * is used: name/timestamp/filesize |
|
| 195 | 191 | * |
| 196 | 192 | * @return Object |
| 197 | 193 | */ |