Skip to content

Commit

Permalink
rename
Browse files Browse the repository at this point in the history
  • Loading branch information
Frank Kleine committed Jun 9, 2016
1 parent 5e83555 commit 7cbb86e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/main/php/ValueValidator.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,16 +62,16 @@ public function contains($needle)
}

/**
* checks whether value contains any of the given strings
* checks whether value contains any of the given elements
*
* @api
* @param string[] $contained
* @param string[] $elements
* @return bool
* @since 4.3.0
*/
public function containsAnyOf(array $contained)
public function containsAnyOf(array $elements)
{
return Value::of($this->value)->containsAnyOf($contained);
return Value::of($this->value)->containsAnyOf($elements);
}


Expand Down

0 comments on commit 7cbb86e

Please sign in to comment.