| 1 | <?php |
||
| 16 | class GravitonBundleBundle extends Bundle implements GravitonBundleInterface |
||
| 17 | { |
||
| 18 | /** |
||
| 19 | * {@inheritDoc} |
||
| 20 | * |
||
| 21 | * This serves as kickstarter by instanciating core bundle. It has not |
||
| 22 | * yet been decided where the remaining GravitonBundles get loaded. |
||
| 23 | * |
||
| 24 | * @todo GravitonBundle loading/disco (maybe with command support). |
||
| 25 | * |
||
| 26 | * @return \Symfony\Component\HttpKernel\Bundle\Bundle[] |
||
|
|
|||
| 27 | */ |
||
| 28 | 6 | public function getBundles() |
|
| 45 | } |
||
| 46 |
This check compares the return type specified in the
@returnannotation of a function or method doc comment with the types returned by the function and raises an issue if they mismatch.