We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f51c8a7 commit 573095eCopy full SHA for 573095e
1 file changed
src/Storage/DTO/MetricNameWithLabels.php
@@ -4,8 +4,6 @@
4
5
namespace Zlodes\PrometheusClient\Storage\DTO;
6
7
-use Webmozart\Assert\Assert;
8
-
9
final readonly class MetricNameWithLabels
10
{
11
/**
@@ -16,7 +14,5 @@ public function __construct(
16
14
public string $metricName,
17
15
public array $labels = [],
18
) {
19
- Assert::allString(array_keys($labels));
20
- Assert::allStringNotEmpty($labels);
21
}
22
0 commit comments