@@ -44,6 +44,9 @@ |
||
| 44 | 44 | return $this->{$name}; |
| 45 | 45 | } |
| 46 | 46 | |
| 47 | + /** |
|
| 48 | + * @param string $name |
|
| 49 | + */ |
|
| 47 | 50 | private function hasCollection($name) |
| 48 | 51 | { |
| 49 | 52 | return property_exists($this, $name) && is_a($this->{$name}, CollectionInterface::class); |
@@ -16,12 +16,13 @@ |
||
| 16 | 16 | interface RouterInterface |
| 17 | 17 | { |
| 18 | 18 | /** |
| 19 | - * @return string; |
|
| 19 | + * @return string |
|
| 20 | 20 | */ |
| 21 | 21 | public function getUri(); |
| 22 | 22 | |
| 23 | 23 | /** |
| 24 | 24 | * @param RealmInterface $realm |
| 25 | + * @return void |
|
| 25 | 26 | */ |
| 26 | 27 | public function addRealm(Contract\RealmInterface $realm); |
| 27 | 28 | |
@@ -26,8 +26,8 @@ |
||
| 26 | 26 | private $session; |
| 27 | 27 | |
| 28 | 28 | private function __construct(RouterInterface $router, |
| 29 | - RealmInterface $realm = null, |
|
| 30 | - SessionInterface $session = null |
|
| 29 | + RealmInterface $realm = null, |
|
| 30 | + SessionInterface $session = null |
|
| 31 | 31 | ) |
| 32 | 32 | { |
| 33 | 33 | $this->router = $router; |