aboutsummaryrefslogtreecommitdiffstats
path: root/includes/libs/filebackend/filejournal
diff options
context:
space:
mode:
authorUmherirrender <umherirrender_de.wp@web.de>2020-12-12 13:01:23 +0100
committerUmherirrender <umherirrender_de.wp@web.de>2020-12-12 14:42:25 +0100
commitf46ca9a63c6396eaa237a219a1f3c5fe93d55b22 (patch)
tree09d1e53693fd4c8fc2a205b0a45acc43890de2a7 /includes/libs/filebackend/filejournal
parentf49e8f4f56e725450afdf27051a6d5afadd0a07e (diff)
downloadmediawikicore-f46ca9a63c6396eaa237a219a1f3c5fe93d55b22.tar.gz
mediawikicore-f46ca9a63c6396eaa237a219a1f3c5fe93d55b22.zip
build: Updating mediawiki/mediawiki-phan-config to 0.10.5
Change-Id: I343d2bae626a3903eb1e67c05bf5caef4314b7dd
Diffstat (limited to 'includes/libs/filebackend/filejournal')
-rw-r--r--includes/libs/filebackend/filejournal/FileJournal.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/includes/libs/filebackend/filejournal/FileJournal.php b/includes/libs/filebackend/filejournal/FileJournal.php
index d5938b7bf29c..8f5f96daf3e2 100644
--- a/includes/libs/filebackend/filejournal/FileJournal.php
+++ b/includes/libs/filebackend/filejournal/FileJournal.php
@@ -176,6 +176,7 @@ abstract class FileJournal {
$entries = $this->doGetChangeEntries( $start, $limit ? $limit + 1 : 0 );
if ( $limit && count( $entries ) > $limit ) {
$last = array_pop( $entries ); // remove the extra entry
+ // @phan-suppress-next-line PhanTypeArraySuspiciousNullable $entries are never empty here
$next = $last['id']; // update for next call
} else {
$next = null; // end of list