| 1 | <?php |
||
| 29 | class VRmodeUIComponent extends ComponentAbstract implements VRmodeUICMPTIF |
||
| 30 | { |
||
| 31 | |||
| 32 | /** |
||
| 33 | * Initialize Component |
||
| 34 | * |
||
| 35 | * {@inheritdoc} |
||
| 36 | * |
||
| 37 | * @return bool |
||
| 38 | */ |
||
| 39 | 2 | public function initializeComponent(): bool |
|
| 45 | |||
| 46 | /** |
||
| 47 | * look-controls enabled |
||
| 48 | * |
||
| 49 | * {@inheritdoc} |
||
| 50 | * |
||
| 51 | * @param bool $enabled |
||
| 52 | * @return LookControlsCMPTIF |
||
|
|
|||
| 53 | */ |
||
| 54 | 2 | public function enabled(bool $enabled = true): VRmodeUICMPTIF |
|
| 59 | |||
| 60 | /** |
||
| 61 | * Does component have DOM Atributes |
||
| 62 | * |
||
| 63 | * If compnent is called then we return true |
||
| 64 | * |
||
| 65 | * {@inheritdoc} |
||
| 66 | * |
||
| 67 | * @return bool |
||
| 68 | */ |
||
| 69 | 1 | public function hasDOMAttributes(): bool |
|
| 73 | } |
||
| 74 |
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.