@@ -73,7 +73,7 @@ |
||
| 73 | 73 | /** |
| 74 | 74 | * @param array $variables |
| 75 | 75 | * @param array $options |
| 76 | - * @return HalResource|ResourceCollection |
|
| 76 | + * @return ResourceInterface |
|
| 77 | 77 | */ |
| 78 | 78 | private function request(array $variables = [], array $options = []) |
| 79 | 79 | { |
@@ -42,7 +42,7 @@ |
||
| 42 | 42 | */ |
| 43 | 43 | public static function createCollection(Explorer $explorer, $name, array $data, EmbeddableInterface $parent) |
| 44 | 44 | { |
| 45 | - $collection = new LinkCollection($explorer, $name, $parent); |
|
| 45 | + $collection = new LinkCollection($explorer, $name, $parent); |
|
| 46 | 46 | foreach ($data as $itemData) { |
| 47 | 47 | $collection->addLink(self::createLink($explorer, $name, $itemData, $collection)); |
| 48 | 48 | } |