Closed enduro44 closed 3 years ago
Hi @mcustiel
public function matches($value): bool { return strpos($this->getCheckValue()->get(), $value) !== false; } I guess it should be other way around
public function matches($value): bool { return strpos($this->getCheckValue()->get(), $value) !== false; }
return strpos($value, $this->getCheckValue()->get()) !== false;
I've created small PR to fix this #6
Hi @mcustiel
public function matches($value): bool { return strpos($this->getCheckValue()->get(), $value) !== false; }
I guess it should be other way aroundreturn strpos($value, $this->getCheckValue()->get()) !== false;