@@ -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  | 
                                                        
@@ -190,10 +190,6 @@  | 
                                                    ||
| 190 | 190 | * allowing concatenation when a request is executed against the manifest.  | 
                                                        
| 191 | 191 | *  | 
                                                        
| 192 | 192 |       * @param array  $data                     {@see \OpenStack\ObjectStore\v1\Api::putObject} | 
                                                        
| 193 | - * @param int $data['segmentSize'] The size in Bytes of each segment  | 
                                                        |
| 194 | - * @param string $data['segmentContainer'] The container to which each segment will be uploaded  | 
                                                        |
| 195 | - * @param string $data['segmentPrefix'] The prefix that will come before each segment. If omitted, a default  | 
                                                        |
| 196 | - * is used: name/timestamp/filesize  | 
                                                        |
| 197 | 193 | *  | 
                                                        
| 198 | 194 | * @return Object  | 
                                                        
| 199 | 195 | */  | 
                                                        
@@ -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)) { | 
                                                        
@@ -23,12 +23,11 @@  | 
                                                    ||
| 23 | 23 | |
| 24 | 24 | /**  | 
                                                        
| 25 | 25 | * @param array $data  | 
                                                        
| 26 | - * @return mixed  | 
                                                        |
| 26 | + * @return AbstractResource  | 
                                                        |
| 27 | 27 | */  | 
                                                        
| 28 | 28 | public function populateFromArray(array $data);  | 
                                                        
| 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 | *  |