| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 14 | public function register(Container $pimple) |
||
| 15 | { |
||
| 16 | $self = $this; |
||
| 17 | |||
| 18 | $pimple->offsetSet('feed_reader_manager', function ($container) use ($self) { |
||
|
|
|||
| 19 | return $self->createFeedReaderManager(); |
||
| 20 | }); |
||
| 21 | |||
| 22 | $pimple->extend('commands', function ($commands, $container) use ($self) { |
||
| 23 | $commands[] = $self->createRunFeedReaderCommand($container->offsetGet('feed_reader_manager')); |
||
| 24 | |||
| 25 | return $commands; |
||
| 26 | }); |
||
| 47 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.