Skip to content

Commit

Permalink
Add return type to wipeKey in Redis
Browse files Browse the repository at this point in the history
  • Loading branch information
pluk77 authored Mar 19, 2024
1 parent a3fbda8 commit 8b9531c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Prometheus/Storage/Redis.php
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ public function wipeStorage(): void
/**
* @inheritDoc
*/
public function wipeKey(string $type, string $key)
public function wipeKey(string $type, string $key): void

Check failure on line 145 in src/Prometheus/Storage/Redis.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.0

Parameter #1 $type of method Prometheus\Storage\Redis::wipeKey() is not optional.

Check failure on line 145 in src/Prometheus/Storage/Redis.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.3

Parameter #1 $type of method Prometheus\Storage\Redis::wipeKey() is not optional.

Check failure on line 145 in src/Prometheus/Storage/Redis.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.2

Parameter #1 $type of method Prometheus\Storage\Redis::wipeKey() is not optional.

Check failure on line 145 in src/Prometheus/Storage/Redis.php

View workflow job for this annotation

GitHub Actions / PHPStan on PHP 8.1

Parameter #1 $type of method Prometheus\Storage\Redis::wipeKey() is not optional.
{
$this->ensureOpenConnection();

Expand Down

0 comments on commit 8b9531c

Please sign in to comment.