Passed
Push — master ( 918514...b89e50 )
by Biao
03:27
created

PrometheusCollector   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 7
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
eloc 3
c 1
b 0
f 1
dl 0
loc 7
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
1
<?php
2
0 ignored issues
show
Coding Style introduced by
Missing file doc comment
Loading history...
3
namespace Hhxsv5\LaravelS\Components\Prometheus;
4
5
abstract class PrometheusCollector implements PrometheusCollectorInterface
0 ignored issues
show
Coding Style introduced by
Missing doc comment for class PrometheusCollector
Loading history...
6
{
7
    protected $config;
8
9
    public function __construct(array $config)
0 ignored issues
show
Coding Style introduced by
Missing doc comment for function __construct()
Loading history...
10
    {
11
        $this->config = $config;
12
    }
13
}