Skip to content

Commit 9487c84

Browse files
authored
Merge pull request #18 from phalcon/argument-type-fix
Fix argument value type
2 parents f13adde + a8b19bc commit 9487c84

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Parser.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class Parser
3838
/**
3939
* Check if parsed parameters has param.
4040
*
41-
* @param string $key The parameter's "key"
41+
* @param string|int $key The parameter's "key"
4242
* @return bool
4343
*/
4444
public function has($key): bool
@@ -49,7 +49,7 @@ public function has($key): bool
4949
/**
5050
* Get value from parsed parameters.
5151
*
52-
* @param string $key The parameter's "key"
52+
* @param string|int $key The parameter's "key"
5353
* @param mixed $default A default value in case the key is not set
5454
* @return mixed
5555
*/

0 commit comments

Comments
 (0)