Commit 3147096d authored by Dominik Hebeler's avatar Dominik Hebeler

Fixed typos

parent 8458e5c7
......@@ -207,7 +207,7 @@ class MetaGerSearch extends Controller
\Prometheus\CollectorRegistry::getDefault()
->getOrRegisterCounter('metager', 'result_counter', 'counts total number of returned results')
->incBy($newResults)
->incBy($newResults);
$finished = true;
foreach ($engines as $engine) {
......
<?php
use Jenssegers\Agent\Agent;
use Prometheus\RenderTextFormat;
/*
|--------------------------------------------------------------------------
......@@ -242,6 +243,6 @@ Route::group(
$result = $renderer->render($registry->getMetricFamilySamples());
return response($result, 200)
->header('Content-Type', RenderTextFormat::MIME_TYPE);
->header('Content-Type', \RenderTextFormat::MIME_TYPE);
});
});
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment