Skip to content

Commit

Permalink
Merge pull request #18 from phalcon/argument-type-fix
Browse files Browse the repository at this point in the history
Fix argument value type
  • Loading branch information
Jeckerson committed Mar 14, 2020
2 parents f13adde + a8b19bc commit 9487c84
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Parser.php
Expand Up @@ -38,7 +38,7 @@ class Parser
/**
* Check if parsed parameters has param.
*
* @param string $key The parameter's "key"
* @param string|int $key The parameter's "key"
* @return bool
*/
public function has($key): bool
Expand All @@ -49,7 +49,7 @@ public function has($key): bool
/**
* Get value from parsed parameters.
*
* @param string $key The parameter's "key"
* @param string|int $key The parameter's "key"
* @param mixed $default A default value in case the key is not set
* @return mixed
*/
Expand Down

0 comments on commit 9487c84

Please sign in to comment.