dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "Rename autonym for 'no' from 'norsk bokmål' to 'norsk'"
[lhc/web/wiklou.git]
/
includes
/
title
/
MalformedTitleException.php
diff --git
a/includes/title/MalformedTitleException.php
b/includes/title/MalformedTitleException.php
index
2dddac5
..
213343f
100644
(file)
--- a/
includes/title/MalformedTitleException.php
+++ b/
includes/title/MalformedTitleException.php
@@
-34,7
+34,7
@@
class MalformedTitleException extends Exception implements ILocalizedException {
* $titleText will be appended if it's not null. (since MW 1.26)
*/
public function __construct(
* $titleText will be appended if it's not null. (since MW 1.26)
*/
public function __construct(
- $errorMessage
= null
, $titleText = null, $errorMessageParameters = []
+ $errorMessage, $titleText = null, $errorMessageParameters = []
) {
$this->errorMessage = $errorMessage;
$this->titleText = $titleText;
) {
$this->errorMessage = $errorMessage;
$this->titleText = $titleText;
@@
-59,7
+59,7
@@
class MalformedTitleException extends Exception implements ILocalizedException {
/**
* @since 1.26
/**
* @since 1.26
- * @return string
|null
+ * @return string
*/
public function getErrorMessage() {
return $this->errorMessage;
*/
public function getErrorMessage() {
return $this->errorMessage;