X-Git-Url: https://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2FStatCounter.php;h=102fffd0d90a9cb9a9dd1d58efc145ff06e3063f;hb=26566732fa99e02d44ebe6de82a1136ef2b3bf16;hp=1373f3d5b0cbde4c3649530895e27ce5744c751d;hpb=3316e073a8a032976bfcad6dfe9637a564f3b3c4;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/StatCounter.php b/includes/StatCounter.php index 1373f3d5b0..102fffd0d9 100644 --- a/includes/StatCounter.php +++ b/includes/StatCounter.php @@ -36,10 +36,11 @@ * @ingroup StatCounter */ class StatCounter { - /** @var Array */ + /** @var array */ protected $deltas = array(); // (key => count) - protected function __construct() {} + protected function __construct() { + } /** * @return StatCounter @@ -56,7 +57,7 @@ class StatCounter { * Increment a key by delta $count * * @param string $key - * @param integer $count + * @param int $count * @return void */ public function incr( $key, $count = 1 ) {