aboutsummaryrefslogtreecommitdiffstats
path: root/includes/exception
diff options
context:
space:
mode:
Diffstat (limited to 'includes/exception')
-rw-r--r--includes/exception/BadTitleError.php2
-rw-r--r--includes/exception/ErrorPageError.php2
-rw-r--r--includes/exception/HttpError.php2
-rw-r--r--includes/exception/LocalizedException.php2
-rw-r--r--includes/exception/MWUnknownContentModelException.php2
-rw-r--r--includes/exception/PermissionsError.php2
-rw-r--r--includes/exception/ProcOpenError.php2
-rw-r--r--includes/exception/ReadOnlyError.php2
-rw-r--r--includes/exception/ShellDisabledError.php2
-rw-r--r--includes/exception/ThrottledError.php2
-rw-r--r--includes/exception/UserBlockedError.php2
-rw-r--r--includes/exception/UserNotLoggedIn.php2
12 files changed, 12 insertions, 12 deletions
diff --git a/includes/exception/BadTitleError.php b/includes/exception/BadTitleError.php
index 439d5f2b15bd..40039027f930 100644
--- a/includes/exception/BadTitleError.php
+++ b/includes/exception/BadTitleError.php
@@ -30,7 +30,7 @@
*/
class BadTitleError extends BadRequestError {
/**
- * @stable for calling
+ * @stable to call
*
* @param string|Message|MalformedTitleException $msg A message key (default: 'badtitletext'), or
* a MalformedTitleException to figure out things from
diff --git a/includes/exception/ErrorPageError.php b/includes/exception/ErrorPageError.php
index 74b20b987557..6e72a5204a8c 100644
--- a/includes/exception/ErrorPageError.php
+++ b/includes/exception/ErrorPageError.php
@@ -35,7 +35,7 @@ class ErrorPageError extends MWException implements ILocalizedException {
/**
* Note: these arguments are keys into wfMessage(), not text!
*
- * @stable for calling
+ * @stable to call
*
* @param string|Message $title Message key (string) for page title, or a Message object
* @param string|Message $msg Message key (string) for error text, or a Message object
diff --git a/includes/exception/HttpError.php b/includes/exception/HttpError.php
index b7086111b2ce..c432f63e12d7 100644
--- a/includes/exception/HttpError.php
+++ b/includes/exception/HttpError.php
@@ -33,7 +33,7 @@ class HttpError extends MWException {
private $httpCode, $header, $content;
/**
- * @stable for calling
+ * @stable to call
* @param int $httpCode HTTP status code to send to the client
* @param string|Message $content Content of the message
* @param string|Message|null $header Content of the header (\<title\> and \<h1\>)
diff --git a/includes/exception/LocalizedException.php b/includes/exception/LocalizedException.php
index a4d290e5dec4..b55bdc0b9f48 100644
--- a/includes/exception/LocalizedException.php
+++ b/includes/exception/LocalizedException.php
@@ -32,7 +32,7 @@ class LocalizedException extends Exception implements ILocalizedException {
protected $messageSpec;
/**
- * @stable for calling
+ * @stable to call
* @param string|array|MessageSpecifier $messageSpec See Message::newFromSpecifier
* @param int $code
* @param Throwable|null $previous The previous exception used for the exception
diff --git a/includes/exception/MWUnknownContentModelException.php b/includes/exception/MWUnknownContentModelException.php
index 576757cf17df..0e8ea57a9074 100644
--- a/includes/exception/MWUnknownContentModelException.php
+++ b/includes/exception/MWUnknownContentModelException.php
@@ -13,7 +13,7 @@ class MWUnknownContentModelException extends MWException {
private $modelId;
/**
- * @stable for calling
+ * @stable to call
* @param string $modelId
*/
public function __construct( $modelId ) {
diff --git a/includes/exception/PermissionsError.php b/includes/exception/PermissionsError.php
index 797d4cb757cb..a62d740890df 100644
--- a/includes/exception/PermissionsError.php
+++ b/includes/exception/PermissionsError.php
@@ -32,7 +32,7 @@ class PermissionsError extends ErrorPageError {
public $permission, $errors;
/**
- * @stable for calling
+ * @stable to call
*
* @param string|null $permission A permission name or null if unknown
* @param array $errors Error message keys or [key, param...] arrays; must not be empty if
diff --git a/includes/exception/ProcOpenError.php b/includes/exception/ProcOpenError.php
index ccc8f37e39f8..deb3cb44db6b 100644
--- a/includes/exception/ProcOpenError.php
+++ b/includes/exception/ProcOpenError.php
@@ -27,7 +27,7 @@ use Exception;
*/
class ProcOpenError extends Exception {
/**
- * @stable for calling
+ * @stable to call
*/
public function __construct() {
parent::__construct( 'proc_open() returned error!' );
diff --git a/includes/exception/ReadOnlyError.php b/includes/exception/ReadOnlyError.php
index 8d9acc6d7c0a..aedbf3ca077b 100644
--- a/includes/exception/ReadOnlyError.php
+++ b/includes/exception/ReadOnlyError.php
@@ -29,7 +29,7 @@
class ReadOnlyError extends ErrorPageError {
/**
- * @stable for calling
+ * @stable to call
*/
public function __construct() {
parent::__construct(
diff --git a/includes/exception/ShellDisabledError.php b/includes/exception/ShellDisabledError.php
index 01d9afc0cb60..686b5bbc8e80 100644
--- a/includes/exception/ShellDisabledError.php
+++ b/includes/exception/ShellDisabledError.php
@@ -29,7 +29,7 @@ use Exception;
class ShellDisabledError extends Exception {
/**
- * @stable for calling
+ * @stable to call
*/
public function __construct() {
parent::__construct( 'Unable to run external programs, proc_open() is disabled' );
diff --git a/includes/exception/ThrottledError.php b/includes/exception/ThrottledError.php
index d8f60739b464..f6bf950d9c44 100644
--- a/includes/exception/ThrottledError.php
+++ b/includes/exception/ThrottledError.php
@@ -28,7 +28,7 @@
class ThrottledError extends ErrorPageError {
/**
- * @stable for calling
+ * @stable to call
*/
public function __construct() {
parent::__construct(
diff --git a/includes/exception/UserBlockedError.php b/includes/exception/UserBlockedError.php
index cb8fe7908d50..175a6fdd82d2 100644
--- a/includes/exception/UserBlockedError.php
+++ b/includes/exception/UserBlockedError.php
@@ -30,7 +30,7 @@ use MediaWiki\MediaWikiServices;
*/
class UserBlockedError extends ErrorPageError {
/**
- * @stable for calling
+ * @stable to call
* @param AbstractBlock $block
* @param User|null $user
* @param Language|null $language
diff --git a/includes/exception/UserNotLoggedIn.php b/includes/exception/UserNotLoggedIn.php
index ca75f0565f20..c007d1efa70b 100644
--- a/includes/exception/UserNotLoggedIn.php
+++ b/includes/exception/UserNotLoggedIn.php
@@ -54,7 +54,7 @@
class UserNotLoggedIn extends ErrorPageError {
/**
- * @stable for calling
+ * @stable to call
*
* @note The value of the $reasonMsg parameter must be set with the LoginFormValidErrorMessages
* hook if you want the user to be automatically redirected to the login form.