X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=blobdiff_plain;f=includes%2Flibs%2Fstats%2FBufferingStatsdDataFactory.php;h=5ef01350d820f67b68e877c31e29f0236448beae;hb=fad1d907606517e0e31ffbca69273d1351479031;hp=06915b2dd25fd1749d61558b9005fb8835135194;hpb=dbad540cd37617879aff6f28ce9c016dd8049d4e;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/libs/stats/BufferingStatsdDataFactory.php b/includes/libs/stats/BufferingStatsdDataFactory.php index 06915b2dd2..5ef01350d8 100644 --- a/includes/libs/stats/BufferingStatsdDataFactory.php +++ b/includes/libs/stats/BufferingStatsdDataFactory.php @@ -92,10 +92,11 @@ class BufferingStatsdDataFactory extends StatsdDataFactory implements IBuffering } /** - * @deprecated Use getData() + * @deprecated since 1.30 Use getData() instead * @return StatsdData[] */ public function getBuffer() { + wfDeprecated( __METHOD__, '1.30' ); return $this->buffer; } @@ -103,6 +104,10 @@ class BufferingStatsdDataFactory extends StatsdDataFactory implements IBuffering return !empty( $this->buffer ); } + /** + * @since 1.30 + * @return StatsdData[] + */ public function getData() { return $this->buffer; }