/** * {@inheritdoc} */ public function match($model, Filter $filter = null) { return parent::match($model) && $model->type === static::$type; }