1 | <?php |
||
29 | class Videosphere extends Entity implements EntityInterface |
||
30 | { |
||
31 | |||
32 | /** |
||
33 | * Init <a-video> |
||
34 | * |
||
35 | * The video primitive displays a video on a flat plane as a texture. It is an entity that prescribes the geometry |
||
36 | * with its geometric primitive set to plane. |
||
37 | * |
||
38 | * @return void |
||
39 | */ |
||
40 | 2 | public function reset() |
|
52 | |||
53 | /** |
||
54 | * geometry.radius |
||
55 | * |
||
56 | * @param float $radius |
||
|
|||
57 | * @return self |
||
58 | */ |
||
59 | 2 | public function radius(float $radius = 100): self |
|
64 | |||
65 | /** |
||
66 | * Autoplay video |
||
67 | * |
||
68 | * @param bool $autoplay |
||
69 | * @return self |
||
70 | */ |
||
71 | 2 | public function autoplay(bool $autoplay = true): self |
|
76 | |||
77 | /** |
||
78 | * geometry.segmentsHeight |
||
79 | * |
||
80 | * @param int $segmentsHeigh |
||
81 | * @return self |
||
82 | */ |
||
83 | 2 | public function segmentsHeight($segmentsHeigh = 64): self |
|
88 | |||
89 | /** |
||
90 | * geometry.segmentsWidth |
||
91 | * |
||
92 | * @param int $segmentsWidth |
||
93 | * @return self |
||
94 | */ |
||
95 | 2 | public function segmentsWidth($segmentsWidth = 64): self |
|
100 | } |
||
101 |
This check looks for
@param
annotations where the type inferred by our type inference engine differs from the declared type.It makes a suggestion as to what type it considers more descriptive.
Most often this is a case of a parameter that can be null in addition to its declared types.