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

Fix style

parent 55bded05
No related branches found
No related tags found
No related merge requests found
Pipeline #1880 passed
......@@ -95,6 +95,5 @@ class StatusChangeDetection implements ShouldQueue
}
// nothing to do if number of sent notifications > COUNT
}
}
......@@ -87,7 +87,8 @@ class StatusChange
{
$collection = \Mongo::get()->monitoring->statuschanges;
$result = $collection->findOne(
['_id' => new \MongoDB\BSON\ObjectId($id)]);
['_id' => new \MongoDB\BSON\ObjectId($id)]
);
$status = new StatusChange();
$status->parse($result);
......
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