@@ -104,7 +104,7 @@ discard block |
||
| 104 | 104 | * |
| 105 | 105 | * @param string $username The username (also the login name). |
| 106 | 106 | * @throws InvalidArgumentException If the username is not a string. |
| 107 | - * @return User Chainable |
|
| 107 | + * @return AbstractUser Chainable |
|
| 108 | 108 | */ |
| 109 | 109 | public function setUsername($username) |
| 110 | 110 | { |
@@ -128,7 +128,7 @@ discard block |
||
| 128 | 128 | /** |
| 129 | 129 | * @param string $email The user email. |
| 130 | 130 | * @throws InvalidArgumentException If the email is not a string. |
| 131 | - * @return User Chainable |
|
| 131 | + * @return AbstractUser Chainable |
|
| 132 | 132 | */ |
| 133 | 133 | public function setEmail($email) |
| 134 | 134 | { |
@@ -195,7 +195,7 @@ discard block |
||
| 195 | 195 | } |
| 196 | 196 | |
| 197 | 197 | /** |
| 198 | - * @param string|DateTime|null $lastLoginDate The last login date. |
|
| 198 | + * @param string $lastLoginDate The last login date. |
|
| 199 | 199 | * @throws InvalidArgumentException If the ts is not a valid date/time. |
| 200 | 200 | * @return AbstractUser Chainable |
| 201 | 201 | */ |
@@ -263,7 +263,7 @@ discard block |
||
| 263 | 263 | } |
| 264 | 264 | |
| 265 | 265 | /** |
| 266 | - * @param string|DateTime|null $lastPasswordDate The last password date. |
|
| 266 | + * @param string $lastPasswordDate The last password date. |
|
| 267 | 267 | * @throws InvalidArgumentException If the passsword date is not a valid DateTime. |
| 268 | 268 | * @return UserInterface Chainable |
| 269 | 269 | */ |
@@ -193,7 +193,7 @@ discard block |
||
| 193 | 193 | } |
| 194 | 194 | |
| 195 | 195 | /** |
| 196 | - * @param \DateTime|string|null $creationDate The Creation Date date/time. |
|
| 196 | + * @param string $creationDate The Creation Date date/time. |
|
| 197 | 197 | * @throws InvalidArgumentException If the date/time is invalid. |
| 198 | 198 | * @return ObjectRoute Chainable |
| 199 | 199 | */ |
@@ -215,7 +215,7 @@ discard block |
||
| 215 | 215 | return $this; |
| 216 | 216 | } |
| 217 | 217 | /** |
| 218 | - * @param \DateTime|string|null $lastModificationDate The Last modification date date/time. |
|
| 218 | + * @param string $lastModificationDate The Last modification date date/time. |
|
| 219 | 219 | * @throws InvalidArgumentException If the date/time is invalid. |
| 220 | 220 | * @return ObjectRoute Chainable |
| 221 | 221 | */ |
@@ -167,7 +167,7 @@ |
||
| 167 | 167 | /** |
| 168 | 168 | * Set when the object was created. |
| 169 | 169 | * |
| 170 | - * @param DateTime|string|null $timestamp The timestamp at object's creation. NULL is accepted and instances |
|
| 170 | + * @param string $timestamp The timestamp at object's creation. NULL is accepted and instances |
|
| 171 | 171 | * of DateTimeInterface are recommended; any other value will be converted (if possible) into one. |
| 172 | 172 | * @throws InvalidArgumentException If the timestamp is invalid. |
| 173 | 173 | * @return UserDataInterface Chainable |
@@ -99,7 +99,7 @@ discard block |
||
| 99 | 99 | * |
| 100 | 100 | * @param string $username The username (also the login name). |
| 101 | 101 | * @throws InvalidArgumentException If the username is not a string. |
| 102 | - * @return User Chainable |
|
| 102 | + * @return AuthToken Chainable |
|
| 103 | 103 | */ |
| 104 | 104 | public function setUsername($username) |
| 105 | 105 | { |
@@ -121,9 +121,9 @@ discard block |
||
| 121 | 121 | } |
| 122 | 122 | |
| 123 | 123 | /** |
| 124 | - * @param DateTime|string|null $expiry The date/time at object's creation. |
|
| 124 | + * @param string $expiry The date/time at object's creation. |
|
| 125 | 125 | * @throws InvalidArgumentException If the date/time is invalid. |
| 126 | - * @return Content Chainable |
|
| 126 | + * @return AuthToken Chainable |
|
| 127 | 127 | */ |
| 128 | 128 | public function setExpiry($expiry) |
| 129 | 129 | { |
@@ -152,9 +152,9 @@ discard block |
||
| 152 | 152 | } |
| 153 | 153 | |
| 154 | 154 | /** |
| 155 | - * @param DateTime|string|null $created The date/time at object's creation. |
|
| 155 | + * @param string $created The date/time at object's creation. |
|
| 156 | 156 | * @throws InvalidArgumentException If the date/time is invalid. |
| 157 | - * @return Content Chainable |
|
| 157 | + * @return AuthToken Chainable |
|
| 158 | 158 | */ |
| 159 | 159 | public function setCreated($created) |
| 160 | 160 | { |
@@ -183,9 +183,9 @@ discard block |
||
| 183 | 183 | } |
| 184 | 184 | |
| 185 | 185 | /** |
| 186 | - * @param DateTime|string|null $lastModified The last modified date/time. |
|
| 186 | + * @param string $lastModified The last modified date/time. |
|
| 187 | 187 | * @throws InvalidArgumentException If the date/time is invalid. |
| 188 | - * @return Content Chainable |
|
| 188 | + * @return AuthToken Chainable |
|
| 189 | 189 | */ |
| 190 | 190 | public function setLastModified($lastModified) |
| 191 | 191 | { |
@@ -301,7 +301,7 @@ discard block |
||
| 301 | 301 | /** |
| 302 | 302 | * @param mixed $ident The auth-token identifier. |
| 303 | 303 | * @param string $token The token key to validate against. |
| 304 | - * @return mixed The user id. |
|
| 304 | + * @return string The user id. |
|
| 305 | 305 | */ |
| 306 | 306 | public function getUserId($ident, $token) |
| 307 | 307 | { |
@@ -311,7 +311,7 @@ discard block |
||
| 311 | 311 | /** |
| 312 | 312 | * @param mixed $ident The auth-token identifier (username). |
| 313 | 313 | * @param string $token The token to validate against. |
| 314 | - * @return mixed The user id. An empty string if no token match. |
|
| 314 | + * @return string The user id. An empty string if no token match. |
|
| 315 | 315 | */ |
| 316 | 316 | public function getUsernameFromToken($ident, $token) |
| 317 | 317 | { |
@@ -371,7 +371,7 @@ discard block |
||
| 371 | 371 | * DescribableTrait > create_metadata(). |
| 372 | 372 | * |
| 373 | 373 | * @param array $data Optional data to intialize the Metadata object with. |
| 374 | - * @return MetadataInterface |
|
| 374 | + * @return AuthTokenMetadata |
|
| 375 | 375 | */ |
| 376 | 376 | protected function createMetadata(array $data = null) |
| 377 | 377 | { |
@@ -83,7 +83,7 @@ discard block |
||
| 83 | 83 | * Set an object model factory. |
| 84 | 84 | * |
| 85 | 85 | * @param FactoryInterface $factory The model factory, to create objects. |
| 86 | - * @return ObjectContainerInterface Chainable |
|
| 86 | + * @return ObjectSchedule Chainable |
|
| 87 | 87 | */ |
| 88 | 88 | public function setModelFactory(FactoryInterface $factory) |
| 89 | 89 | { |
@@ -164,7 +164,7 @@ discard block |
||
| 164 | 164 | |
| 165 | 165 | /** |
| 166 | 166 | * @param array|string $data The data diff. |
| 167 | - * @return ObjectRevision |
|
| 167 | + * @return ObjectSchedule |
|
| 168 | 168 | */ |
| 169 | 169 | public function setDataDiff($data) |
| 170 | 170 | { |
@@ -179,7 +179,7 @@ discard block |
||
| 179 | 179 | } |
| 180 | 180 | |
| 181 | 181 | /** |
| 182 | - * @return array |
|
| 182 | + * @return string |
|
| 183 | 183 | */ |
| 184 | 184 | public function dataDiff() |
| 185 | 185 | { |
@@ -214,7 +214,7 @@ discard block |
||
| 214 | 214 | * |
| 215 | 215 | * @param null|string|DateTimeInterface $ts A date/time string or object. |
| 216 | 216 | * @throws InvalidArgumentException If the date/time is invalid. |
| 217 | - * @return QueueItemInterface Chainable |
|
| 217 | + * @return ObjectSchedule Chainable |
|
| 218 | 218 | */ |
| 219 | 219 | public function setScheduledDate($ts) |
| 220 | 220 | { |
@@ -257,9 +257,9 @@ discard block |
||
| 257 | 257 | /** |
| 258 | 258 | * Set the date/time the item was processed at. |
| 259 | 259 | * |
| 260 | - * @param null|string|DateTimeInterface $ts A date/time string or object. |
|
| 260 | + * @param string $ts A date/time string or object. |
|
| 261 | 261 | * @throws InvalidArgumentException If the date/time is invalid. |
| 262 | - * @return QueueItemInterface Chainable |
|
| 262 | + * @return ObjectSchedule Chainable |
|
| 263 | 263 | */ |
| 264 | 264 | public function setProcessedDate($ts) |
| 265 | 265 | { |
@@ -304,7 +304,7 @@ discard block |
||
| 304 | 304 | * |
| 305 | 305 | * Presets the item as _to-be_ processed and queued now. |
| 306 | 306 | * |
| 307 | - * @return QueueItemInterface Chainable |
|
| 307 | + * @return boolean Chainable |
|
| 308 | 308 | */ |
| 309 | 309 | public function preSave() |
| 310 | 310 | { |
@@ -80,7 +80,7 @@ discard block |
||
| 80 | 80 | |
| 81 | 81 | /** |
| 82 | 82 | * @param FactoryInterface $factory The factory used to create models. |
| 83 | - * @return AdminScript Chainable |
|
| 83 | + * @return Content Chainable |
|
| 84 | 84 | */ |
| 85 | 85 | protected function setModelFactory(FactoryInterface $factory) |
| 86 | 86 | { |
@@ -143,7 +143,7 @@ discard block |
||
| 143 | 143 | } |
| 144 | 144 | |
| 145 | 145 | /** |
| 146 | - * @param \DateTimeInterface|string|null $created The date/time at object's creation. |
|
| 146 | + * @param string $created The date/time at object's creation. |
|
| 147 | 147 | * @throws InvalidArgumentException If the date/time is invalid. |
| 148 | 148 | * @return Content Chainable |
| 149 | 149 | */ |
@@ -192,7 +192,7 @@ discard block |
||
| 192 | 192 | } |
| 193 | 193 | |
| 194 | 194 | /** |
| 195 | - * @param \DateTimeInterface|string|null $lastModified The last modified date/time. |
|
| 195 | + * @param string $lastModified The last modified date/time. |
|
| 196 | 196 | * @throws InvalidArgumentException If the date/time is invalid. |
| 197 | 197 | * @return Content Chainable |
| 198 | 198 | */ |
@@ -179,7 +179,7 @@ |
||
| 179 | 179 | } |
| 180 | 180 | |
| 181 | 181 | /** |
| 182 | - * @param mixed $revTs The revision's timestamp. |
|
| 182 | + * @param string $revTs The revision's timestamp. |
|
| 183 | 183 | * @throws InvalidArgumentException If the timestamp is invalid. |
| 184 | 184 | * @return ObjectRevision Chainable |
| 185 | 185 | */ |
@@ -53,7 +53,7 @@ discard block |
||
| 53 | 53 | * |
| 54 | 54 | * The object's hierarchy can be rebuilt with {@see self::hierarchy()}. |
| 55 | 55 | * |
| 56 | - * @return HierarchicalInterface Chainable |
|
| 56 | + * @return HierarchicalTrait Chainable |
|
| 57 | 57 | */ |
| 58 | 58 | public function resetHierarchy() |
| 59 | 59 | { |
@@ -66,7 +66,7 @@ discard block |
||
| 66 | 66 | * Set this object's immediate parent. |
| 67 | 67 | * |
| 68 | 68 | * @param mixed $master The object's parent (or master). |
| 69 | - * @return HierarchicalInterface Chainable |
|
| 69 | + * @return HierarchicalTrait Chainable |
|
| 70 | 70 | */ |
| 71 | 71 | public function setMaster($master) |
| 72 | 72 | { |
@@ -253,7 +253,7 @@ discard block |
||
| 253 | 253 | |
| 254 | 254 | /** |
| 255 | 255 | * @param array $children The children to set. |
| 256 | - * @return HierarchicalInterface Chainable |
|
| 256 | + * @return HierarchicalTrait Chainable |
|
| 257 | 257 | */ |
| 258 | 258 | public function setChildren(array $children) |
| 259 | 259 | { |
@@ -266,7 +266,7 @@ discard block |
||
| 266 | 266 | |
| 267 | 267 | /** |
| 268 | 268 | * @param mixed $child The child object (or ident) to add. |
| 269 | - * @return HierarchicalInterface Chainable |
|
| 269 | + * @return HierarchicalTrait Chainable |
|
| 270 | 270 | */ |
| 271 | 271 | public function addChild($child) |
| 272 | 272 | { |
@@ -309,7 +309,7 @@ discard block |
||
| 309 | 309 | |
| 310 | 310 | /** |
| 311 | 311 | * @param mixed $master The master object (or ident) to check against. |
| 312 | - * @return boolean |
|
| 312 | + * @return false|null |
|
| 313 | 313 | */ |
| 314 | 314 | public function recursiveIsChildOf($master) |
| 315 | 315 | { |
@@ -444,7 +444,7 @@ discard block |
||
| 444 | 444 | * Add an object to the cache store. |
| 445 | 445 | * |
| 446 | 446 | * @param ModelInterface $obj The object to store. |
| 447 | - * @return HierarchicalInterface Chainable |
|
| 447 | + * @return HierarchicalTrait Chainable |
|
| 448 | 448 | */ |
| 449 | 449 | private function addObjectToCache(ModelInterface $obj) |
| 450 | 450 | { |
@@ -33,7 +33,7 @@ discard block |
||
| 33 | 33 | |
| 34 | 34 | /** |
| 35 | 35 | * @param boolean $enabled The (revision) enabled flag. |
| 36 | - * @return RevisionableInterface Chainable |
|
| 36 | + * @return RevisionableTrait Chainable |
|
| 37 | 37 | */ |
| 38 | 38 | public function setRevisionEnabled($enabled) |
| 39 | 39 | { |
@@ -66,7 +66,7 @@ discard block |
||
| 66 | 66 | * |
| 67 | 67 | * @param string $className The class name of the object revision model. |
| 68 | 68 | * @throws InvalidArgumentException If the class name is not a string. |
| 69 | - * @return AbstractPropertyDisplay Chainable |
|
| 69 | + * @return RevisionableTrait Chainable |
|
| 70 | 70 | */ |
| 71 | 71 | protected function setObjectRevisionClass($className) |
| 72 | 72 | { |