Considering there's a default, and `getEncoding()` simply returns the property, I'd just use `$this->encoding` here.