Skip to content

Commit 573095e

Browse files
committed
feat: drop absent asserts
1 parent f51c8a7 commit 573095e

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/Storage/DTO/MetricNameWithLabels.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44

55
namespace Zlodes\PrometheusClient\Storage\DTO;
66

7-
use Webmozart\Assert\Assert;
8-
97
final readonly class MetricNameWithLabels
108
{
119
/**
@@ -16,7 +14,5 @@ public function __construct(
1614
public string $metricName,
1715
public array $labels = [],
1816
) {
19-
Assert::allString(array_keys($labels));
20-
Assert::allStringNotEmpty($labels);
2117
}
2218
}

0 commit comments

Comments
 (0)