1 | <?php declare(strict_types=1); |
||
20 | class NullLoggerBuilder implements LoggerBuilderInterface |
||
21 | { |
||
22 | |||
23 | /** |
||
24 | * @param array $config |
||
25 | */ |
||
26 | 5 | public function __construct(array $config = []) |
|
|
|||
27 | { |
||
28 | // Ignore config as NullLogger does not accept any config |
||
29 | // Done for FeedIo\Factory compatibility |
||
30 | 5 | } |
|
31 | |||
32 | /** |
||
33 | * @inheritdoc |
||
34 | */ |
||
35 | 2 | public function getLogger() : LoggerInterface |
|
39 | |||
40 | /** |
||
41 | * This method MUST return the name of the main class |
||
42 | * @return string |
||
43 | */ |
||
44 | 1 | public function getMainClassName() : string |
|
48 | |||
49 | /** |
||
50 | * This method MUST return the name of the package name |
||
51 | * @return string |
||
52 | */ |
||
53 | 1 | public function getPackageName() : string |
|
57 | } |
||
58 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.