X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Flibs%2Ffilebackend%2Ffileiteration%2FSwiftFileBackendList.php;h=92105c350ed435328a32d05fbe435f77f64f5c9e;hb=eb06fb858e8492453ddb66f9b813ef4724decced;hp=bcde8d90a97b1c5e9c620e687585c691be8175f4;hpb=27a6845c2a675990b04dfead674c0d46d140aa17;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/libs/filebackend/fileiteration/SwiftFileBackendList.php b/includes/libs/filebackend/fileiteration/SwiftFileBackendList.php index bcde8d90a9..92105c350e 100644 --- a/includes/libs/filebackend/fileiteration/SwiftFileBackendList.php +++ b/includes/libs/filebackend/fileiteration/SwiftFileBackendList.php @@ -33,7 +33,7 @@ abstract class SwiftFileBackendList implements Iterator { /** @var array List of path or (path,stat array) entries */ protected $bufferIter = []; - /** @var string List items *after* this path */ + /** @var string|null List items *after* this path */ protected $bufferAfter = null; /** @var int */ @@ -108,6 +108,7 @@ abstract class SwiftFileBackendList implements Iterator { $this->pos = 0; $this->bufferAfter = null; $this->bufferIter = $this->pageFromList( + // @phan-suppress-next-line PhanTypeMismatchArgumentPropertyReferenceReal $this->container, $this->dir, $this->bufferAfter, self::PAGE_SIZE, $this->params ); // updates $this->bufferAfter }