Parser: Add Title type hints
authorFomafix <fomafix@googlemail.com>
Wed, 28 Aug 2019 12:39:25 +0000 (14:39 +0200)
committerFomafix <fomafix@googlemail.com>
Thu, 26 Sep 2019 14:34:12 +0000 (16:34 +0200)
commit3dff713fe40afc79a69631d65d7809bb5206b608
treeb9a980a573fb718fc3dd56a362abe1afd52e1714
parentc96b8354fc62a6ce0696f94a43f3419848dbba8d
Parser: Add Title type hints

getTitle() and Title() will never return NULL anymore. When mTitle is
not set then a TypeError be thrown at runtime. The explicit local
checks for is_null( $this->mTitle ) are not needed anymore when
$this-getTitle() instead of $this->mTitle is used.

Change-Id: I09a178e5c6938954edb2949f13660227d6a01fbc
includes/parser/Parser.php