@@ -43,7 +43,7 @@ discard block |
||
43 | 43 | /** |
44 | 44 | * Returns the uri(the pattern path). |
45 | 45 | * |
46 | - * @return mixed |
|
46 | + * @return string |
|
47 | 47 | */ |
48 | 48 | |
49 | 49 | public function getUri() { |
@@ -53,7 +53,7 @@ discard block |
||
53 | 53 | /** |
54 | 54 | * Returns the request method registered. |
55 | 55 | * |
56 | - * @return mixed |
|
56 | + * @return string |
|
57 | 57 | */ |
58 | 58 | |
59 | 59 | public function getMethod() { |
@@ -63,7 +63,7 @@ discard block |
||
63 | 63 | /** |
64 | 64 | * Returns the callback associated to the pattern. |
65 | 65 | * |
66 | - * @return mixed |
|
66 | + * @return callable |
|
67 | 67 | */ |
68 | 68 | |
69 | 69 | public function getResponse() { |
@@ -20,6 +20,9 @@ |
||
20 | 20 | */ |
21 | 21 | const PARAMETER_IDENTIFIER = ':'; |
22 | 22 | |
23 | + /** |
|
24 | + * @param string $path |
|
25 | + */ |
|
23 | 26 | public function __construct($path) { |
24 | 27 | $this->path = $path; |
25 | 28 | } |