public function LogicalNotToken::scoreArgument in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/phpspec/prophecy/src/Prophecy/Argument/Token/LogicalNotToken.php \Prophecy\Argument\Token\LogicalNotToken::scoreArgument()
Scores 4 when preset token does not match the argument.
Parameters
$argument:
Return value
bool|int
Overrides TokenInterface::scoreArgument
File
- vendor/
phpspec/ prophecy/ src/ Prophecy/ Argument/ Token/ LogicalNotToken.php, line 39
Class
- LogicalNotToken
- Logical NOT token.
Namespace
Prophecy\Argument\TokenCode
public function scoreArgument($argument) {
return false === $this->token
->scoreArgument($argument) ? 4 : false;
}