aboutsummaryrefslogtreecommitdiffstats
path: root/includes/libs/WRStats
diff options
context:
space:
mode:
authorUmherirrender <umherirrender_de.wp@web.de>2025-03-30 21:29:44 +0200
committerUmherirrender <umherirrender_de.wp@web.de>2025-03-31 19:31:07 +0000
commit81fc732b6e06f0a8addc7508d7f5703b2d937d28 (patch)
tree541155af9b80b5c9bbbc73fd34458e654ccbb6b7 /includes/libs/WRStats
parent33f585f0842fae65ab9215247a2773f2b48893b0 (diff)
downloadmediawikicore-81fc732b6e06f0a8addc7508d7f5703b2d937d28.tar.gz
mediawikicore-81fc732b6e06f0a8addc7508d7f5703b2d937d28.zip
libs: Use type declaration on undocumented private functions
Change-Id: I9a74c316b87ae35597ce846a830a55542d9aa14c
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, ' .