*
* This operator will be used to compile tagging rules in PHP, usable
* directly on Entry objects for instance.
- * It's registered in RulerZ using a service (wallabag.operator.array.matches);
+ * It's registered in RulerZ using a service (wallabag.operator.array.notmatches);
*/
class NotMatches
{
public function __invoke($subject, $pattern)
{
- return stripos($subject, $pattern) === false;
+ return false === stripos($subject, $pattern);
}
}