X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fparser%2FLinkHolderArray.php;h=5eb799e9e6af0f58775490cea7e8f23e6d80733a;hb=824469f51cc1c159130bd4eddcf98cbf528798b6;hp=64164490c29ddff5849b2bf3ed42afa36cb182ae;hpb=15b4a0785e2378c0934a14b715e84207b4e2e96f;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/parser/LinkHolderArray.php b/includes/parser/LinkHolderArray.php index 64164490c2..5eb799e9e6 100644 --- a/includes/parser/LinkHolderArray.php +++ b/includes/parser/LinkHolderArray.php @@ -48,6 +48,7 @@ class LinkHolderArray { * Reduce memory usage to reduce the impact of circular references */ public function __destruct() { + // @phan-suppress-next-line PhanTypeSuspiciousNonTraversableForeach foreach ( $this as $name => $value ) { unset( $this->$name ); }