@@ -21,7 +21,6 @@ |
||
| 21 | 21 | * @param array $args as a variadic to catch all arguments. |
| 22 | 22 | * |
| 23 | 23 | * @throws Anax\Route\Exception\NotFoundException when route is not found. |
| 24 | - |
|
| 25 | 24 | * @return object as the response. |
| 26 | 25 | * |
| 27 | 26 | * @SuppressWarnings(PHPMD.UnusedFormalParameter) |
@@ -22,7 +22,6 @@ |
||
| 22 | 22 | * @param string $message with details. |
| 23 | 23 | * |
| 24 | 24 | * @throws Anax\Route\Exception\NotFoundException |
| 25 | - |
|
| 26 | 25 | * @return object as the response. |
| 27 | 26 | */ |
| 28 | 27 | public function catchAll(...$args) : object |
@@ -19,7 +19,6 @@ |
||
| 19 | 19 | * Add internal routes for 403, 404 and 500 that provides a page with |
| 20 | 20 | * error information, using the default page layout. |
| 21 | 21 | * |
| 22 | - * @param string $message with details. |
|
| 23 | 22 | * |
| 24 | 23 | * @throws Anax\Route\Exception\NotFoundException |
| 25 | 24 | |
@@ -2,14 +2,14 @@ |
||
| 2 | 2 | /** |
| 3 | 3 | * api |
| 4 | 4 | */ |
| 5 | - /** |
|
| 6 | - ** ipstack1 5743a124d24d6c68f6dc20dccab02eac |
|
| 7 | - ** ipstack2 9d318e8c489a613ebfe73d94a35c3cfa |
|
| 8 | - ** datsky1 c938d7a8b2a93d07ac994129372ad516 |
|
| 9 | - ** darksky2 dc529b66f2d366a2edaf3225641c69fe |
|
| 10 | - * |
|
| 11 | - */ |
|
| 12 | - return [ |
|
| 13 | - "ipstack" => "9d318e8c489a613ebfe73d94a35c3cfa", |
|
| 14 | - "darksky" => "dc529b66f2d366a2edaf3225641c69fe" |
|
| 15 | - ]; |
|
| 5 | + /** |
|
| 6 | + ** ipstack1 5743a124d24d6c68f6dc20dccab02eac |
|
| 7 | + ** ipstack2 9d318e8c489a613ebfe73d94a35c3cfa |
|
| 8 | + ** datsky1 c938d7a8b2a93d07ac994129372ad516 |
|
| 9 | + ** darksky2 dc529b66f2d366a2edaf3225641c69fe |
|
| 10 | + * |
|
| 11 | + */ |
|
| 12 | + return [ |
|
| 13 | + "ipstack" => "9d318e8c489a613ebfe73d94a35c3cfa", |
|
| 14 | + "darksky" => "dc529b66f2d366a2edaf3225641c69fe" |
|
| 15 | + ]; |
|
@@ -164,7 +164,6 @@ |
||
| 164 | 164 | * deal with type check within the action method and throuw exceptions |
| 165 | 165 | * when the expected type is not met. |
| 166 | 166 | * |
| 167 | - * @param mixed $value with a default string. |
|
| 168 | 167 | * |
| 169 | 168 | * @return string |
| 170 | 169 | */ |
@@ -35,7 +35,6 @@ discard block |
||
| 35 | 35 | /** |
| 36 | 36 | * Set the view to be used for the layout. |
| 37 | 37 | * |
| 38 | - * @param array $view configuration to create up the view. |
|
| 39 | 38 | * |
| 40 | 39 | * @return $this |
| 41 | 40 | */ |
@@ -70,7 +69,6 @@ discard block |
||
| 70 | 69 | /** |
| 71 | 70 | * Set the view to be used for the layout. |
| 72 | 71 | * |
| 73 | - * @param array $view configuration to create up the view. |
|
| 74 | 72 | * |
| 75 | 73 | * @return $this |
| 76 | 74 | */ |
@@ -35,7 +35,7 @@ discard block |
||
| 35 | 35 | * |
| 36 | 36 | * @param: string $url to check for. |
| 37 | 37 | * |
| 38 | - * @return boolean true if item is selected, else false. |
|
| 38 | + * @return boolean|null true if item is selected, else false. |
|
| 39 | 39 | */ |
| 40 | 40 | public function check($url) |
| 41 | 41 | { |
@@ -51,7 +51,7 @@ discard block |
||
| 51 | 51 | * |
| 52 | 52 | * @param: string $url where to create the url. |
| 53 | 53 | * |
| 54 | - * @return string as the url create. |
|
| 54 | + * @return boolean as the url create. |
|
| 55 | 55 | */ |
| 56 | 56 | public function isParent($parent) |
| 57 | 57 | { |
@@ -20,7 +20,6 @@ discard block |
||
| 20 | 20 | /** |
| 21 | 21 | * Set the view to be used for the layout. |
| 22 | 22 | * |
| 23 | - * @param array $view configuration to create up the view. |
|
| 24 | 23 | * |
| 25 | 24 | * @return $this |
| 26 | 25 | */ |
@@ -33,7 +32,6 @@ discard block |
||
| 33 | 32 | /** |
| 34 | 33 | * Set the view to be used for the layout. |
| 35 | 34 | * |
| 36 | - * @param array $view configuration to create up the view. |
|
| 37 | 35 | * |
| 38 | 36 | * @return $this |
| 39 | 37 | */ |
@@ -46,9 +44,8 @@ discard block |
||
| 46 | 44 | /** |
| 47 | 45 | * Set the view to be used for the layout. |
| 48 | 46 | * |
| 49 | - * @param array $view configuration to create up the view. |
|
| 50 | 47 | * |
| 51 | - * @return $this |
|
| 48 | + * @return string |
|
| 52 | 49 | */ |
| 53 | 50 | public function validateIp($ip) |
| 54 | 51 | { |
@@ -69,9 +66,8 @@ discard block |
||
| 69 | 66 | /** |
| 70 | 67 | * Set the view to be used for the layout. |
| 71 | 68 | * |
| 72 | - * @param array $view configuration to create up the view. |
|
| 73 | 69 | * |
| 74 | - * @return $this |
|
| 70 | + * @return string |
|
| 75 | 71 | */ |
| 76 | 72 | public function getDomain($ip) |
| 77 | 73 | { |
@@ -91,7 +87,6 @@ discard block |
||
| 91 | 87 | /** |
| 92 | 88 | * Set the view to be used for the layout. |
| 93 | 89 | * |
| 94 | - * @param array $view configuration to create up the view. |
|
| 95 | 90 | * |
| 96 | 91 | * @return $this |
| 97 | 92 | */ |