Conditions | 3 |
Paths | 3 |
Total Lines | 12 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
44 | /** |
||
45 | * @return ModuleListInterface |
||
46 | */ |
||
47 | public function getMagentoModuleList() |
||
48 | { |
||
49 | if (is_null($this->moduleList)) { |
||
50 | $this->moduleList = $this->getObjectManager()->get('Magento\Framework\Module\ModuleListInterface'); |
||
51 | } |
||
52 | return $this->moduleList; |
||
53 | } |
||
54 | |||
55 | /** |
||
56 | * @return ResourceInterface |
||
66 |
This check compares the return type specified in the
@return
annotation of a function or method doc comment with the types returned by the function and raises an issue if they mismatch.