Passed
Push — phpstan-tests ( 6a2b78...974220 )
by Michael
61:35 queued 23s
created

NullLogger::stopQuery()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 2
Code Lines 0

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 2
rs 10
c 0
b 0
f 0
cc 1
eloc 0
nc 1
nop 0
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Doctrine\DBAL\Logging;
6
7
/**
8
 * A SQL logger that does nothing.
9
 *
10
 * @codeCoverageIgnore
11
 */
12
final class NullLogger implements SQLLogger
13
{
14
    /**
15
     * {@inheritdoc}
16
     */
17
    public function startQuery(string $sql, ?array $params = [], ?array $types = []) : void
18
    {
19
    }
20
21
    /**
22
     * {@inheritdoc}
23
     */
24
    public function stopQuery() : void
25
    {
26
    }
27
}
28