@@ -59,6 +59,9 @@ |
||
59 | 59 | } |
60 | 60 | } |
61 | 61 | |
62 | + /** |
|
63 | + * @param string $method |
|
64 | + */ |
|
62 | 65 | private function isMagicMethod($method) : bool |
63 | 66 | { |
64 | 67 | return \in_array($method, ['__sleep', '__wakeup', 'offsetGet', 'offsetSet', 'offsetExists', 'offsetUnset', 'count', 'ksort', 'asort', 'jsonSerialize'], true); |
@@ -22,6 +22,9 @@ |
||
22 | 22 | $this->router = $router; |
23 | 23 | } |
24 | 24 | |
25 | + /** |
|
26 | + * @param string $uri |
|
27 | + */ |
|
25 | 28 | public function getReverseLink($uri) : string |
26 | 29 | { |
27 | 30 | $urlParts = parse_url($uri); |