This class seems to be duplicated in your project.
Duplicated code is one of the most pungent code smells. If you need to duplicate
the same code in three or more different places, we strongly encourage you to
look into extracting the code into a single class or operation.
You can also find more detailed suggestions in the “Code” section of your repository.
Loading history...
30
{
31
32
/**
33
* Initialize Component
34
*
35
* {@inheritdoc}
36
*
37
* @return bool
38
*/
39
1
public function initializeComponent(): bool
40
{
41
1
$this->setDomAttribute('vr-mode-ui');
42
1
$this->enabled();
43
1
return true;
44
}
45
46
/**
47
* look-controls enabled
48
*
49
* {@inheritdoc}
50
*
51
* @param bool $enabled
52
* @return VRmodeUICMPTIF
53
*/
54
1
public function enabled(bool $enabled = true): VRmodeUICMPTIF
Duplicated code is one of the most pungent code smells. If you need to duplicate the same code in three or more different places, we strongly encourage you to look into extracting the code into a single class or operation.
You can also find more detailed suggestions in the “Code” section of your repository.