We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 72ee5a9 + ab2122a commit 82d093bCopy full SHA for 82d093b
1 file changed
src/Monitoring/Metric/AbstractMetric.php
@@ -16,7 +16,7 @@ abstract class AbstractMetric implements AttributeInterface
16
public function getState(): MetricStateEnum
17
{
18
if ($this->state === null) {
19
- throw new \RuntimeException(__CLASS__.'::$state is not set.');
+ throw new \RuntimeException(static::class.'::$state is not set.');
20
}
21
22
return $this->state;
0 commit comments