Merge "Perform a permission check on the title when changing the page language"
[lhc/web/wiklou.git] / includes / libs / stats / SamplingStatsdClient.php
index a8af714..4db2b60 100644 (file)
@@ -47,7 +47,7 @@ class SamplingStatsdClient extends StatsdClient {
         * Sets sampling rate for all items in $data.
         * The sample rate specified in a StatsdData entity overrides the sample rate specified here.
         *
-        * {@inheritDoc}
+        * @inheritDoc
         */
        public function appendSampleRate( $data, $sampleRate = 1 ) {
                $samplingRates = $this->samplingRates;
@@ -55,7 +55,7 @@ class SamplingStatsdClient extends StatsdClient {
                        $samplingRates = [ '*' => $sampleRate ];
                }
                if ( $samplingRates ) {
-                       array_walk( $data, function( $item ) use ( $samplingRates ) {
+                       array_walk( $data, function ( $item ) use ( $samplingRates ) {
                                /** @var $item StatsdData */
                                foreach ( $samplingRates as $pattern => $rate ) {
                                        if ( fnmatch( $pattern, $item->getKey(), FNM_NOESCAPE ) ) {
@@ -147,7 +147,7 @@ class SamplingStatsdClient extends StatsdClient {
        }
 
        /**
-        * {@inheritDoc}
+        * @inheritDoc
         */
        protected function throwException( Exception $exception ) {
                if ( !$this->getFailSilently() ) {