Skip to content

Commit

Permalink
Fix PHPStan Prometheus\Counter::incBy()label type
Browse files Browse the repository at this point in the history
  • Loading branch information
iksss-invia committed Dec 2, 2024
1 parent 82ac6ae commit 2c46515
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Prometheus/Counter.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public function inc(array $labels = []): void

/**
* @param int|float $count e.g. 2
* @param string[] $labels e.g. ['status', 'opcode']
* @param array<int|string> $labels e.g. ['status', 'opcode']
*/
public function incBy($count, array $labels = []): void
{
Expand Down

0 comments on commit 2c46515

Please sign in to comment.