dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make phpcs-strict pass on includes/ (3/~10)
[lhc/web/wiklou.git]
/
includes
/
StatCounter.php
diff --git
a/includes/StatCounter.php
b/includes/StatCounter.php
index
1373f3d
..
102fffd
100644
(file)
--- a/
includes/StatCounter.php
+++ b/
includes/StatCounter.php
@@
-36,10
+36,11
@@
* @ingroup StatCounter
*/
class StatCounter {
* @ingroup StatCounter
*/
class StatCounter {
- /** @var
A
rray */
+ /** @var
a
rray */
protected $deltas = array(); // (key => count)
protected $deltas = array(); // (key => count)
- protected function __construct() {}
+ protected function __construct() {
+ }
/**
* @return StatCounter
/**
* @return StatCounter
@@
-56,7
+57,7
@@
class StatCounter {
* Increment a key by delta $count
*
* @param string $key
* Increment a key by delta $count
*
* @param string $key
- * @param int
eger
$count
+ * @param int $count
* @return void
*/
public function incr( $key, $count = 1 ) {
* @return void
*/
public function incr( $key, $count = 1 ) {