@@ -48,7 +48,7 @@ discard block |
||
| 48 | 48 | * encapsulate your own logic to determine whether the resource has |
| 49 | 49 | * successfully transitioned. When TRUE is returned by the callback, |
| 50 | 50 | * the loop will end. |
| 51 | - * @param int|bool $timeout The maximum timeout in seconds. If the total time taken by the waiter has reached |
|
| 51 | + * @param integer $timeout The maximum timeout in seconds. If the total time taken by the waiter has reached |
|
| 52 | 52 | * or exceed this timeout, the blocking operation will immediately cease. If FALSE |
| 53 | 53 | * is provided, the timeout will never be considered. |
| 54 | 54 | * @param int $sleepPeriod The amount of time to pause between each HTTP request. |
@@ -73,7 +73,7 @@ discard block |
||
| 73 | 73 | /** |
| 74 | 74 | * Internal method used to identify whether a timeout has been exceeded. |
| 75 | 75 | * |
| 76 | - * @param bool|int $timeout |
|
| 76 | + * @param integer $timeout |
|
| 77 | 77 | * @param int $startTime |
| 78 | 78 | * |
| 79 | 79 | * @return bool |
@@ -8,6 +8,10 @@ |
||
| 8 | 8 | const OP_REPLACE = 'replace'; |
| 9 | 9 | const OP_REMOVE = 'remove'; |
| 10 | 10 | |
| 11 | + /** |
|
| 12 | + * @param \stdClass $src |
|
| 13 | + * @param \stdClass $dest |
|
| 14 | + */ |
|
| 11 | 15 | public static function diff($src, $dest) |
| 12 | 16 | { |
| 13 | 17 | return (new static)->makeDiff($src, $dest); |
@@ -59,7 +59,7 @@ discard block |
||
| 59 | 59 | * Populates a value into an object-like structure. |
| 60 | 60 | * |
| 61 | 61 | * @param Parameter $param The schema that defines how the JSON field is being populated |
| 62 | - * @param mixed $userValue The user value that is populating a JSON field |
|
| 62 | + * @param \stdClass $userValue The user value that is populating a JSON field |
|
| 63 | 63 | * |
| 64 | 64 | * @return array |
| 65 | 65 | */ |
@@ -93,6 +93,9 @@ discard block |
||
| 93 | 93 | return $this->stockValue($param, $userValue, $json); |
| 94 | 94 | } |
| 95 | 95 | |
| 96 | + /** |
|
| 97 | + * @return \stdClass |
|
| 98 | + */ |
|
| 96 | 99 | private function serializeObjectValue($value) |
| 97 | 100 | { |
| 98 | 101 | if (is_object($value)) { |
@@ -47,6 +47,9 @@ |
||
| 47 | 47 | $this->rootNamespace = $rootNamespace; |
| 48 | 48 | } |
| 49 | 49 | |
| 50 | + /** |
|
| 51 | + * @param string $namespace |
|
| 52 | + */ |
|
| 50 | 53 | private function getClasses($namespace) |
| 51 | 54 | { |
| 52 | 55 | $namespace = $this->rootNamespace . '\\' . $namespace; |
@@ -28,7 +28,6 @@ |
||
| 28 | 28 | public function populateFromArray(array $data): ResourceInterface; |
| 29 | 29 | |
| 30 | 30 | /** |
| 31 | - * @param string $name The name of the model class. |
|
| 32 | 31 | * @param mixed $data Either a {@see ResponseInterface} or data array that will populate the newly |
| 33 | 32 | * created model class. |
| 34 | 33 | * |
@@ -191,10 +191,6 @@ |
||
| 191 | 191 | * allowing concatenation when a request is executed against the manifest. |
| 192 | 192 | * |
| 193 | 193 | * @param array $data {@see \OpenStack\ObjectStore\v1\Api::putObject} |
| 194 | - * @param int $data['segmentSize'] The size in Bytes of each segment |
|
| 195 | - * @param string $data['segmentContainer'] The container to which each segment will be uploaded |
|
| 196 | - * @param string $data['segmentPrefix'] The prefix that will come before each segment. If omitted, a default |
|
| 197 | - * is used: name/timestamp/filesize |
|
| 198 | 194 | * |
| 199 | 195 | * @return ObjectEntity |
| 200 | 196 | */ |