| Total Complexity | 4 |
| Total Lines | 22 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 12 | 3 | class DefaultGenerator extends BaseGenerator |
|
| 13 | { |
||
| 14 | 3 | public function __construct(BaseMetaData $metaData) |
|
|
|
|||
| 15 | 3 | { |
|
| 16 | 3 | $this->addRenderer(new DefaultRenderer()); |
|
| 17 | 3 | $this->addRenderer(new FacebookRenderer()); |
|
| 18 | $this->addRenderer(new TwitterRenderer()); |
||
| 19 | 3 | } |
|
| 20 | |||
| 21 | 3 | protected function sortMetaData(array $metaData): array |
|
| 34 | } |
||
| 35 | } |
||
| 36 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.