Blackhole   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 14
c 0
b 0
f 0
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A log() 0 4 1
1
<?php
2
declare(strict_types = 1);
3
4
/**
5
 * Micro
6
 *
7
 * @author    Raffael Sahli <[email protected]>
8
 * @copyright Copyright (c) 2017 gyselroth GmbH (https://gyselroth.com)
9
 * @license   MIT https://opensource.org/licenses/MIT
10
 */
11
12
namespace Micro\Log\Adapter;
13
14
class Blackhole extends AbstractAdapter
15
{
16
    /**
17
     * Log
18
     *
19
     * @param   string $level
20
     * @param   string $message
21
     * @return  bool
22
     */
23
    public function log(string $level, string $message): bool
24
    {
25
        return true;
26
    }
27
}
28