Skip to content

Commit

Permalink
Merge pull request #523 from tyteen4a03/master
Browse files Browse the repository at this point in the history
Correct signature for Argument::in() and notIn()
  • Loading branch information
ciaranmcnulty committed Mar 4, 2021
2 parents 7114670 + 9a967ee commit 3f22964
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Prophecy/Argument.php
Original file line number Diff line number Diff line change
Expand Up @@ -218,20 +218,20 @@ public static function approximate($value, $precision = 0)
* @return Token\InArrayToken
*/

public function in($value)
public static function in($value)
{
return new Token\InArrayToken($value);
}

/**
* Checks that argument is in array.
* Checks that argument is not in array.
*
* @param array $value
*
* @return Token\InArrayToken
* @return Token\NotInArrayToken
*/

public function notIn($value)
public static function notIn($value)
{
return new Token\NotInArrayToken($value);
}
Expand Down

0 comments on commit 3f22964

Please sign in to comment.