That can happen if wgTitle is null.
Change-Id: I3d8aab232d408e75afb8be82ca714bf5c4fe2427
* Get the Title object
*
* @since 1.18
- * @return Title
+ * @return Title|null
*/
public function getTitle() {
return $this->getContext()->getTitle();
/**
* Get the Title object
*
- * @return Title
+ * @return Title|null
*/
public function getTitle() {
if ( !is_null( $this->title ) ) {
/**
* Get the Title object
*
- * @return Title
+ * @return Title|null
*/
public function getTitle();
/**
* Get the Title object
*
- * @return Title
+ * @return Title|null
*/
public function getTitle() {
if ( $this->title === null ) {