/**
* language item for the type name
- * @var string|null
*/
- protected $typeName;
+ protected string $typeName;
/**
* @inheritDoc
*/
protected function getTypeName(): string
{
- if ($this->typeName === null) {
+ if (!isset($this->typeName)) {
$moderationHandler = ObjectTypeCache::getInstance()
->getObjectType($this->getModerationQueue()->objectTypeID)
->getProcessor();