Skip to content

Commit

Permalink
Merge pull request #12 from wmde/arrayHints
Browse files Browse the repository at this point in the history
Use more specific string[] type hints
  • Loading branch information
mariushoch committed Mar 23, 2016
2 parents ba11ce1 + 333cdf9 commit b979e57
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Assert.php
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ public static function invariant( $condition, $description ) {

/**
* @param mixed $value
* @param array $allowedTypes
* @param string[] $allowedTypes
*
* @return bool
*/
Expand All @@ -187,7 +187,7 @@ private static function hasType( $value, array $allowedTypes ) {

/**
* @param mixed $value
* @param array $allowedTypes
* @param string[] $allowedTypes
*
* @return bool
*/
Expand Down

0 comments on commit b979e57

Please sign in to comment.