@@ -294,7 +294,7 @@ |
||
294 | 294 | * retain the functionality of methods like map() or reduce() which return new instances of the Collection. |
295 | 295 | * |
296 | 296 | * @param mixed $items The items to populate the new Collection with. |
297 | - * @return interfaces\Collection |
|
297 | + * @return Collection |
|
298 | 298 | */ |
299 | 299 | protected function derive($items) : interfaces\Collection |
300 | 300 | { |
@@ -26,7 +26,7 @@ |
||
26 | 26 | * the Set. |
27 | 27 | * @return core\interfaces\Named The object or the default value given if the item couldn't be found. |
28 | 28 | */ |
29 | - public function get(string $name, core\interfaces\Named $default = null) : ?core\interfaces\Named; |
|
29 | + public function get(string $name, core\interfaces\Named $default = null) : ? core\interfaces\Named; |
|
30 | 30 | |
31 | 31 | /** |
32 | 32 | * Adds the given Named Object to the Set. |
@@ -45,7 +45,7 @@ |
||
45 | 45 | /** |
46 | 46 | * @see \nyx\core\collections\interfaces\NamedObjectSet::get() |
47 | 47 | */ |
48 | - public function get(string $name, core\interfaces\Named $default = null) : ?core\interfaces\Named |
|
48 | + public function get(string $name, core\interfaces\Named $default = null) : ? core\interfaces\Named |
|
49 | 49 | { |
50 | 50 | return $this->items[$name] ?? $default; |
51 | 51 | } |