@@ -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 | { |
@@ -67,7 +67,7 @@ discard block |
||
| 67 | 67 | * |
| 68 | 68 | * @param mixed $master The object's parent (or master). |
| 69 | 69 | * @throws UnexpectedValueException The current object cannot be its own parent. |
| 70 | - * @return HierarchicalInterface Chainable |
|
| 70 | + * @return HierarchicalTrait Chainable |
|
| 71 | 71 | */ |
| 72 | 72 | public function setMaster($master) |
| 73 | 73 | { |
@@ -266,7 +266,7 @@ discard block |
||
| 266 | 266 | |
| 267 | 267 | /** |
| 268 | 268 | * @param array $children The children to set. |
| 269 | - * @return HierarchicalInterface Chainable |
|
| 269 | + * @return HierarchicalTrait Chainable |
|
| 270 | 270 | */ |
| 271 | 271 | public function setChildren(array $children) |
| 272 | 272 | { |
@@ -280,7 +280,7 @@ discard block |
||
| 280 | 280 | /** |
| 281 | 281 | * @param mixed $child The child object (or ident) to add. |
| 282 | 282 | * @throws UnexpectedValueException The current object cannot be its own child. |
| 283 | - * @return HierarchicalInterface Chainable |
|
| 283 | + * @return HierarchicalTrait Chainable |
|
| 284 | 284 | */ |
| 285 | 285 | public function addChild($child) |
| 286 | 286 | { |
@@ -478,7 +478,7 @@ discard block |
||
| 478 | 478 | * Add an object to the cache store. |
| 479 | 479 | * |
| 480 | 480 | * @param ModelInterface $obj The object to store. |
| 481 | - * @return HierarchicalInterface Chainable |
|
| 481 | + * @return HierarchicalTrait Chainable |
|
| 482 | 482 | */ |
| 483 | 483 | private function addObjectToCache(ModelInterface $obj) |
| 484 | 484 | { |