Skip to content
Snippets Groups Projects
Commit 1b974115 authored by Tibo's avatar Tibo
Browse files

fix phpstan

parent a479f77b
No related branches found
No related tags found
No related merge requests found
......@@ -32,7 +32,7 @@ class MemInfo implements Sensor
$records = $record->server->lastRecords($record->label);
foreach ($records as $record) {
$mem = $this->parseMeminfo($record->data);
if ($mem->usedRatio() > self::$WARNING_RATIO) {
if ($mem->usedRatio() > self::WARNING_RATIO) {
return $report->setStatus(Status::warning());
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment