@@ -87,7 +87,7 @@ discard block |
||
| 87 | 87 | * Set the object's URL slug pattern. |
| 88 | 88 | * |
| 89 | 89 | * @param mixed $pattern The slug pattern. |
| 90 | - * @return RoutableInterface Chainable |
|
| 90 | + * @return RoutableTrait Chainable |
|
| 91 | 91 | */ |
| 92 | 92 | public function setSlugPattern($pattern) |
| 93 | 93 | { |
@@ -193,7 +193,7 @@ discard block |
||
| 193 | 193 | * Set the object's URL slug. |
| 194 | 194 | * |
| 195 | 195 | * @param mixed $slug The slug. |
| 196 | - * @return RoutableInterface Chainable |
|
| 196 | + * @return RoutableTrait Chainable |
|
| 197 | 197 | */ |
| 198 | 198 | public function setSlug($slug) |
| 199 | 199 | { |
@@ -677,7 +677,7 @@ discard block |
||
| 677 | 677 | * |
| 678 | 678 | * @param string $className The class name of the object route model. |
| 679 | 679 | * @throws InvalidArgumentException If the class name is not a string. |
| 680 | - * @return AbstractPropertyDisplay Chainable |
|
| 680 | + * @return RoutableTrait Chainable |
|
| 681 | 681 | */ |
| 682 | 682 | protected function setObjectRouteClass($className) |
| 683 | 683 | { |
@@ -287,7 +287,7 @@ discard block |
||
| 287 | 287 | /** |
| 288 | 288 | * Set the route's last creation date. |
| 289 | 289 | * |
| 290 | - * @param string|DateTimeInterface|null $time The date/time value. |
|
| 290 | + * @param string $time The date/time value. |
|
| 291 | 291 | * @throws InvalidArgumentException If the date/time value is invalid. |
| 292 | 292 | * @return self |
| 293 | 293 | */ |
@@ -323,7 +323,7 @@ discard block |
||
| 323 | 323 | /** |
| 324 | 324 | * Set the route's last modification date. |
| 325 | 325 | * |
| 326 | - * @param string|DateTimeInterface|null $time The date/time value. |
|
| 326 | + * @param string $time The date/time value. |
|
| 327 | 327 | * @throws InvalidArgumentException If the date/time value is invalid. |
| 328 | 328 | * @return self |
| 329 | 329 | */ |
@@ -281,7 +281,7 @@ discard block |
||
| 281 | 281 | /** |
| 282 | 282 | * @param integer $page The current page. Start at 0. |
| 283 | 283 | * @throws InvalidArgumentException If the parameter is not numeric or < 0. |
| 284 | - * @return Pagination (Chainable) |
|
| 284 | + * @return HierarchicalCollection (Chainable) |
|
| 285 | 285 | */ |
| 286 | 286 | public function setPage($page) |
| 287 | 287 | { |
@@ -314,7 +314,7 @@ discard block |
||
| 314 | 314 | /** |
| 315 | 315 | * @param integer $num The number of results to retrieve, per page. |
| 316 | 316 | * @throws InvalidArgumentException If the parameter is not numeric or < 0. |
| 317 | - * @return Pagination (Chainable) |
|
| 317 | + * @return HierarchicalCollection (Chainable) |
|
| 318 | 318 | */ |
| 319 | 319 | public function setNumPerPage($num) |
| 320 | 320 | { |
@@ -259,7 +259,7 @@ |
||
| 259 | 259 | /** |
| 260 | 260 | * Set the date/time the item was processed at. |
| 261 | 261 | * |
| 262 | - * @param null|string|DateTimeInterface $ts A date/time string or object. |
|
| 262 | + * @param string $ts A date/time string or object. |
|
| 263 | 263 | * @throws InvalidArgumentException If the date/time is invalid. |
| 264 | 264 | * @return ObjectScheduleInterface Chainable |
| 265 | 265 | */ |
@@ -195,7 +195,7 @@ |
||
| 195 | 195 | /** |
| 196 | 196 | * Set when the object was created. |
| 197 | 197 | * |
| 198 | - * @param DateTimeInterface|string|null $timestamp The timestamp at object's creation. |
|
| 198 | + * @param string $timestamp The timestamp at object's creation. |
|
| 199 | 199 | * NULL is accepted and instances of DateTimeInterface are recommended; |
| 200 | 200 | * any other value will be converted (if possible) into one. |
| 201 | 201 | * @throws InvalidArgumentException If the timestamp is invalid. |
@@ -158,7 +158,7 @@ |
||
| 158 | 158 | } |
| 159 | 159 | |
| 160 | 160 | /** |
| 161 | - * @param mixed $revTs The revision's timestamp. |
|
| 161 | + * @param string $revTs The revision's timestamp. |
|
| 162 | 162 | * @throws InvalidArgumentException If the timestamp is invalid. |
| 163 | 163 | * @return ObjectRevision Chainable |
| 164 | 164 | */ |
@@ -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 | { |
@@ -60,7 +60,7 @@ discard block |
||
| 60 | 60 | * |
| 61 | 61 | * The object's hierarchy can be rebuilt with {@see self::hierarchy()}. |
| 62 | 62 | * |
| 63 | - * @return HierarchicalInterface Chainable |
|
| 63 | + * @return HierarchicalTrait Chainable |
|
| 64 | 64 | */ |
| 65 | 65 | public function resetHierarchy() |
| 66 | 66 | { |
@@ -73,7 +73,7 @@ discard block |
||
| 73 | 73 | * Set this object's immediate parent. |
| 74 | 74 | * |
| 75 | 75 | * @param mixed $master The object's parent (or master). |
| 76 | - * @return HierarchicalInterface Chainable |
|
| 76 | + * @return HierarchicalTrait Chainable |
|
| 77 | 77 | */ |
| 78 | 78 | public function setMaster($master) |
| 79 | 79 | { |
@@ -292,7 +292,7 @@ discard block |
||
| 292 | 292 | |
| 293 | 293 | /** |
| 294 | 294 | * @param array $children The children to set. |
| 295 | - * @return HierarchicalInterface Chainable |
|
| 295 | + * @return HierarchicalTrait Chainable |
|
| 296 | 296 | */ |
| 297 | 297 | public function setChildren(array $children) |
| 298 | 298 | { |
@@ -306,7 +306,7 @@ discard block |
||
| 306 | 306 | |
| 307 | 307 | /** |
| 308 | 308 | * @param mixed $child The child object (or ident) to add. |
| 309 | - * @return HierarchicalInterface Chainable |
|
| 309 | + * @return HierarchicalTrait Chainable |
|
| 310 | 310 | * @throws UnexpectedValueException The current object cannot be its own child. |
| 311 | 311 | */ |
| 312 | 312 | public function addChild($child) |
@@ -511,7 +511,7 @@ discard block |
||
| 511 | 511 | * Add an object to the cache store. |
| 512 | 512 | * |
| 513 | 513 | * @param ModelInterface $obj The object to store. |
| 514 | - * @return HierarchicalInterface Chainable |
|
| 514 | + * @return HierarchicalTrait Chainable |
|
| 515 | 515 | */ |
| 516 | 516 | private function addObjectToCache(ModelInterface $obj) |
| 517 | 517 | { |