Blackhole   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
dl 0
loc 13
rs 10
c 0
b 0
f 0
wmc 1

1 Method

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