Passed
Push — master ( 8e7e6d...9f9e2a )
by Dispositif
03:39
created

NullStats::increment()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 1
c 0
b 0
f 0
dl 0
loc 3
rs 10
cc 1
nc 1
nop 1
1
<?php
2
/*
3
 * This file is part of dispositif/wikibot application (@github)
4
 * 2019-2023 © Philippe M./Irønie  <[email protected]>
5
 * For the full copyright and MIT license information, view the license file.
6
 */
7
8
declare(strict_types=1);
9
10
namespace App\Infrastructure\Monitor;
11
12
class NullStats implements StatsInterface
13
{
14
    public function increment(string $tag): bool
15
    {
16
        return false;
17
    }
18
19
    public function __call(string $method, array $args)
20
    {
21
        return false;
22
    }
23
}