diff options
Diffstat (limited to 'includes/Revision')
-rw-r--r-- | includes/Revision/ArchivedRevisionLookup.php | 2 | ||||
-rw-r--r-- | includes/Revision/RevisionLookup.php | 4 | ||||
-rw-r--r-- | includes/Revision/RevisionRenderer.php | 4 | ||||
-rw-r--r-- | includes/Revision/RevisionStore.php | 4 |
4 files changed, 7 insertions, 7 deletions
diff --git a/includes/Revision/ArchivedRevisionLookup.php b/includes/Revision/ArchivedRevisionLookup.php index d36176a215fd..de726a753610 100644 --- a/includes/Revision/ArchivedRevisionLookup.php +++ b/includes/Revision/ArchivedRevisionLookup.php @@ -53,7 +53,7 @@ class ArchivedRevisionLookup { * various archive table fields. * * @param PageIdentity $page - * @return IResultWrapper|bool + * @return IResultWrapper */ public function listRevisions( PageIdentity $page ) { $queryInfo = $this->revisionStore->getArchiveQueryInfo(); diff --git a/includes/Revision/RevisionLookup.php b/includes/Revision/RevisionLookup.php index 5193d8a6cb49..714212d52a90 100644 --- a/includes/Revision/RevisionLookup.php +++ b/includes/Revision/RevisionLookup.php @@ -136,7 +136,7 @@ interface RevisionLookup extends IDBAccessObject { * * @param int $id * @param int $flags - * @return string|bool False if not found + * @return string|false False if not found * @since 1.34 (present earlier in RevisionStore) */ public function getTimestampFromId( $id, $flags = 0 ); @@ -152,7 +152,7 @@ interface RevisionLookup extends IDBAccessObject { * @param PageIdentity $page the associated page * @param int $revId current revision of this page * - * @return RevisionRecord|bool Returns false if missing + * @return RevisionRecord|false Returns false if missing */ public function getKnownCurrentRevision( PageIdentity $page, $revId = 0 ); diff --git a/includes/Revision/RevisionRenderer.php b/includes/Revision/RevisionRenderer.php index 372faaa3c3d7..e3677b3e9617 100644 --- a/includes/Revision/RevisionRenderer.php +++ b/includes/Revision/RevisionRenderer.php @@ -56,14 +56,14 @@ class RevisionRenderer { /** @var ContentRenderer */ private $contentRenderer; - /** @var string|bool */ + /** @var string|false */ private $dbDomain; /** * @param ILoadBalancer $loadBalancer * @param SlotRoleRegistry $roleRegistry * @param ContentRenderer $contentRenderer - * @param bool|string $dbDomain DB domain of the relevant wiki or false for the current one + * @param string|false $dbDomain DB domain of the relevant wiki or false for the current one */ public function __construct( ILoadBalancer $loadBalancer, diff --git a/includes/Revision/RevisionStore.php b/includes/Revision/RevisionStore.php index 3bfa3dcf6d74..db5ee7288cac 100644 --- a/includes/Revision/RevisionStore.php +++ b/includes/Revision/RevisionStore.php @@ -2799,7 +2799,7 @@ class RevisionStore * * @param int $id * @param int $flags - * @return string|bool False if not found + * @return string|false False if not found */ public function getTimestampFromId( $id, $flags = 0 ) { if ( $id instanceof Title ) { @@ -2923,7 +2923,7 @@ class RevisionStore * @param PageIdentity $page the associated page * @param int $revId current revision of this page. Defaults to $title->getLatestRevID(). * - * @return RevisionRecord|bool Returns false if missing + * @return RevisionRecord|false Returns false if missing */ public function getKnownCurrentRevision( PageIdentity $page, $revId = 0 ) { $db = $this->getDBConnectionRef( DB_REPLICA ); |