$this->type = $type;
$this->params = $params;
- $this->title = $title ?: Title::makeTitle( NS_SPECIAL, 'Badtitle/' . get_class( $this ) );
+ $this->title = $title ?: Title::makeTitle( NS_SPECIAL, 'Badtitle/' . static::class );
$this->opts = $opts;
}
'opts' => $this->opts,
'title' => [
'ns' => $this->title->getNamespace(),
- 'key' => $this->title->getDbKey()
+ 'key' => $this->title->getDBkey()
]
];
}