Update type of PermissionManager::resultToError

Also update the copy source in Title::resultToError

Change-Id: Iaa3b8d124e599fe9db7f941d0591776adc96906b
This commit is contained in:
Umherirrender 2019-06-07 17:23:50 +02:00
parent 44b524827e
commit 141f8cfee0
2 changed files with 2 additions and 2 deletions

View file

@ -324,7 +324,7 @@ class PermissionManager {
* Add the resulting error code to the errors array
*
* @param array $errors List of current errors
* @param array $result Result of errors
* @param array|string|MessageSpecifier|false $result Result of errors
*
* @return array List of errors
*/

View file

@ -2256,7 +2256,7 @@ class Title implements LinkTarget, IDBAccessObject {
* Add the resulting error code to the errors array
*
* @param array $errors List of current errors
* @param array $result Result of errors
* @param array|string|MessageSpecifier|false $result Result of errors
*
* @return array List of errors
*/