Added missing docblock

This commit is contained in:
James Brooks
2016-11-25 20:06:52 +00:00
parent fc1f98cb6c
commit 39299829ab

View File

@@ -60,6 +60,13 @@ class AddMetricPointCommandHandler
return $point;
}
/**
* Find or create a metric point.
*
* @param \CachetHQ\Cachet\Bus\Commands\Metric\AddMetricPointCommand $command
*
* @return \CachetHQ\Cachet\Models\MetricPoint
*/
protected function findOrCreatePoint(AddMetricPointCommand $command)
{
$buffer = Carbon::now()->subMinutes($command->metric->threshold);