Commit efea5711 by Mark

fixed matcher to work with strings that represents integer values

parent edb6bca1
......@@ -35,6 +35,7 @@ abstract class Base extends Component implements MatcherInterface
*/
public function hasValue()
{
return !empty($this->baseValue) || $this->baseValue === 0;
return !empty($this->baseValue) || ($this->baseValue === '0');
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment