You must add call to `parent` here:
```php
return parent::equals($item) && $item instanceof self && $item->getVariant() === $this->variant;