Skip to content

Commit

Permalink
v0.9.8
Browse files Browse the repository at this point in the history
  • Loading branch information
kristuff committed Jan 17, 2021
1 parent 12e5873 commit d1be25a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/UtilsTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,12 +84,12 @@ protected static function getArgumentValue(array $arguments, string $shortArg, s
* @access protected
* @static
* @param array $arguments The list of arguments
* @param array $shortArg The short argument name
* @param array $longArg The long argument name
* @param string $shortArg The short argument name
* @param string $longArg The long argument name
*
* @return bool True if the short or long argument exist in the arguments array, otherwise false
*/
protected static function inArguments($arguments, $shortArg, $longArg)
protected static function inArguments(array $arguments, string $shortArg, string $longArg)
{
return array_key_exists($shortArg, $arguments) || array_key_exists($longArg, $arguments);
}
Expand Down

0 comments on commit d1be25a

Please sign in to comment.