`$this->inputFilter` can be `null`, use `$this->getInputFilter()` instead.