Passed
Push — master ( f1175e...1a1d56 )
by Nils
03:05
created

DevelopmentCollector::collect()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 2
c 1
b 0
f 0
nc 1
nop 0
dl 0
loc 4
rs 10
1
<?php
2
3
namespace Startwind\Inventorio\Collector\Inventorio;
4
5
use Startwind\Inventorio\Collector\Collector;
6
7
/**
8
 * This collector returns details about this Inventorio client
9
 */
10
class DevelopmentCollector implements Collector
11
{
12
    protected const COLLECTION_IDENTIFIER = '_InventorioDevelopment';
13
14
    /**
15
     * @inheritDoc
16
     */
17
    public function getIdentifier(): string
18
    {
19
        return self::COLLECTION_IDENTIFIER;
20
    }
21
22
    /**
23
     * @inheritDoc
24
     */
25
    public function collect(): array
26
    {
27
        return [
28
            'bug' => true
29
        ];
30
    }
31
}
32