@@ -29,6 +29,10 @@ |
||
29 | 29 | */ |
30 | 30 | private $appMeta; |
31 | 31 | |
32 | + /** |
|
33 | + * @param string $name |
|
34 | + * @param string $contexts |
|
35 | + */ |
|
32 | 36 | public function __construct($name, $contexts) |
33 | 37 | { |
34 | 38 | $this->appMeta = new AppMeta($name, $contexts); |
@@ -131,7 +131,7 @@ |
||
131 | 131 | /** |
132 | 132 | * @param string $uri |
133 | 133 | * |
134 | - * @return mixed |
|
134 | + * @return string |
|
135 | 135 | */ |
136 | 136 | private function getReverseMatchedLink($uri) |
137 | 137 | { |
@@ -65,11 +65,17 @@ |
||
65 | 65 | } |
66 | 66 | } |
67 | 67 | |
68 | + /** |
|
69 | + * @param string $method |
|
70 | + */ |
|
68 | 71 | private function isMagicMethod($method) |
69 | 72 | { |
70 | 73 | return in_array($method, ['__sleep', '__wakeup', 'offsetGet', 'offsetSet', 'offsetExists', 'offsetUnset', 'count', 'ksort', 'asort', 'jsonSerialize'], true); |
71 | 74 | } |
72 | 75 | |
76 | + /** |
|
77 | + * @param string $method |
|
78 | + */ |
|
73 | 79 | private function saveNamedParam(NamedParameterInterface $namedParameter, $instance, $method) |
74 | 80 | { |
75 | 81 | // named parameter |