@@ -30,7 +30,6 @@ discard block |
||
30 | 30 | /** |
31 | 31 | * Construct. |
32 | 32 | * |
33 | - * @param array $options to configure options. |
|
34 | 33 | */ |
35 | 34 | public function offsetSet($offset, $value) |
36 | 35 | { |
@@ -46,7 +45,6 @@ discard block |
||
46 | 45 | /** |
47 | 46 | * Construct. |
48 | 47 | * |
49 | - * @param array $options to configure options. |
|
50 | 48 | */ |
51 | 49 | public function offsetExists($offset) |
52 | 50 | { |
@@ -58,7 +56,6 @@ discard block |
||
58 | 56 | /** |
59 | 57 | * Construct. |
60 | 58 | * |
61 | - * @param array $options to configure options. |
|
62 | 59 | */ |
63 | 60 | public function offsetUnset($offset) |
64 | 61 | { |
@@ -70,7 +67,6 @@ discard block |
||
70 | 67 | /** |
71 | 68 | * Construct. |
72 | 69 | * |
73 | - * @param array $options to configure options. |
|
74 | 70 | */ |
75 | 71 | public function offsetGet($offset) |
76 | 72 | { |
@@ -116,7 +116,7 @@ discard block |
||
116 | 116 | * Loads the class file for a given class name. |
117 | 117 | * |
118 | 118 | * @param string $class The fully-qualified class name. |
119 | - * @return mixed The mapped file name on success, or boolean false on |
|
119 | + * @return string|false The mapped file name on success, or boolean false on |
|
120 | 120 | * failure. |
121 | 121 | */ |
122 | 122 | public function loadClass($class) |
@@ -164,7 +164,7 @@ discard block |
||
164 | 164 | * @param string $prefix The namespace prefix. |
165 | 165 | * @param string $relative_class The relative class name. |
166 | 166 | * |
167 | - * @return mixed Boolean false if no mapped file can be loaded, or the |
|
167 | + * @return false|string Boolean false if no mapped file can be loaded, or the |
|
168 | 168 | * name of the mapped file that was loaded. |
169 | 169 | */ |
170 | 170 | protected function loadMappedFile($prefix, $relative_class) |
@@ -85,7 +85,7 @@ |
||
85 | 85 | /** |
86 | 86 | * Logs with an arbitrary level. |
87 | 87 | * |
88 | - * @param mixed $level |
|
88 | + * @param string $level |
|
89 | 89 | * @param string $message |
90 | 90 | * @param array $context |
91 | 91 | * @return null |
@@ -66,7 +66,7 @@ |
||
66 | 66 | /** |
67 | 67 | * Check if a controller exists with this name. |
68 | 68 | * |
69 | - * @return void |
|
69 | + * @return boolean |
|
70 | 70 | */ |
71 | 71 | public function isValidController() |
72 | 72 | { |
@@ -74,7 +74,7 @@ discard block |
||
74 | 74 | * Add an internal (not exposed to url-matching) route to the router. |
75 | 75 | * |
76 | 76 | * @param string $rule for this route |
77 | - * @param mixed $action null, string or callable to implement a controller for the route |
|
77 | + * @param \Closure $action null, string or callable to implement a controller for the route |
|
78 | 78 | * |
79 | 79 | * @return class as new route |
80 | 80 | */ |
@@ -92,7 +92,6 @@ discard block |
||
92 | 92 | * Add an internal (not exposed to url-matching) route to the router. |
93 | 93 | * |
94 | 94 | * @param string $rule for this route |
95 | - * @param mixed $action null, string or callable to implement a controller for the route |
|
96 | 95 | * |
97 | 96 | * @return class as new route |
98 | 97 | */ |
@@ -20,7 +20,7 @@ |
||
20 | 20 | /** |
21 | 21 | * Read configuration from file or array'. |
22 | 22 | * |
23 | - * @param array/string $what is an array with key/value config options or a file |
|
23 | + * @param string $what is an array with key/value config options or a file |
|
24 | 24 | * to be included which returns such an array. |
25 | 25 | * @return $this for chaining. |
26 | 26 | */ |
@@ -133,7 +133,7 @@ |
||
133 | 133 | * |
134 | 134 | * @param string $region which region to check |
135 | 135 | * |
136 | - * @return $this |
|
136 | + * @return boolean |
|
137 | 137 | */ |
138 | 138 | public function hasContent($region) |
139 | 139 | { |