aboutsummaryrefslogtreecommitdiffstats
path: root/includes/libs/WRStats
diff options
context:
space:
mode:
Diffstat (limited to 'includes/libs/WRStats')
-rw-r--r--includes/libs/WRStats/LimitBatch.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/libs/WRStats/LimitBatch.php b/includes/libs/WRStats/LimitBatch.php
index 3758a40fc6e3..b83adb4cffda 100644
--- a/includes/libs/WRStats/LimitBatch.php
+++ b/includes/libs/WRStats/LimitBatch.php
@@ -72,7 +72,7 @@ class LimitBatch {
return $this;
}
- private function queueOp( $type, $entity, $amount ) {
+ private function queueOp( string $type, ?EntityKey $entity, ?int $amount ) {
$amount ??= $this->defaultAmount;
if ( isset( $this->operations[$type] ) ) {
throw new WRStatsError( 'Cannot queue multiple actions of the same type, ' .