@@ -87,7 +87,7 @@ |
||
| 87 | 87 | * |
| 88 | 88 | * @param array $data |
| 89 | 89 | * |
| 90 | - * @return static |
|
| 90 | + * @return ImmutableCollectionTrait |
|
| 91 | 91 | */ |
| 92 | 92 | abstract protected function newCollectionInstance(array $data); |
| 93 | 93 | |
@@ -219,7 +219,7 @@ |
||
| 219 | 219 | * This method MUST retain the state of the current instance, and return |
| 220 | 220 | * an instance that contains the modified component with the appended data |
| 221 | 221 | * |
| 222 | - * @param HierarchicalComponent|string $component the component to append |
|
| 222 | + * @param HierarchicalPath $component the component to append |
|
| 223 | 223 | * |
| 224 | 224 | * @return static |
| 225 | 225 | */ |
@@ -328,6 +328,7 @@ |
||
| 328 | 328 | |
| 329 | 329 | /** |
| 330 | 330 | * @inheritdoc |
| 331 | + * @param integer $type |
|
| 331 | 332 | */ |
| 332 | 333 | protected static function formatComponentString($data, $type) |
| 333 | 334 | { |
@@ -95,7 +95,7 @@ |
||
| 95 | 95 | /** |
| 96 | 96 | * Returns the component literal value. |
| 97 | 97 | * |
| 98 | - * @return null|string |
|
| 98 | + * @return string |
|
| 99 | 99 | */ |
| 100 | 100 | public function getContent() |
| 101 | 101 | { |