1 | <?php |
||
21 | class RootModule extends Module |
||
22 | { |
||
23 | /** |
||
24 | * Creates a new root module. |
||
25 | * |
||
26 | * @param RootModuleFile $moduleFile The module file. |
||
27 | * @param string $installPath The absolute install path. |
||
28 | */ |
||
29 | 338 | public function __construct(RootModuleFile $moduleFile, $installPath) |
|
33 | |||
34 | /** |
||
35 | * Returns the module file of the module. |
||
36 | * |
||
37 | * @return RootModuleFile The module file. |
||
|
|||
38 | */ |
||
39 | 236 | public function getModuleFile() |
|
43 | |||
44 | /** |
||
45 | * {@inheritdoc} |
||
46 | */ |
||
47 | 11 | protected function getDefaultName() |
|
51 | } |
||
52 |
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.