@@ -62,7 +62,7 @@ |
||
62 | 62 | * Work with untitled scene or scene by name |
63 | 63 | * |
64 | 64 | * @param string $name |
65 | - * @return Scene |
|
65 | + * @return Core\Scene |
|
66 | 66 | */ |
67 | 67 | public function scene(string $name = 'untitled'): Scene |
68 | 68 | { |
@@ -78,7 +78,7 @@ |
||
78 | 78 | * and package. |
79 | 79 | * We only handle components with name prefix aframe |
80 | 80 | * |
81 | - * @param string $packageType |
|
81 | + * @param string $package_type |
|
82 | 82 | * @return bool |
83 | 83 | */ |
84 | 84 | public function supports($package_type) |
@@ -42,7 +42,7 @@ discard block |
||
42 | 42 | * Depth (in meters) of the sides on the Z axis. |
43 | 43 | * |
44 | 44 | * @param &array $dom_attributes |
45 | - * @param float|int $depth |
|
45 | + * @param double $depth |
|
46 | 46 | * @return void |
47 | 47 | */ |
48 | 48 | public function depth(array &$dom_attributes, float $depth) |
@@ -54,7 +54,7 @@ discard block |
||
54 | 54 | * Height (in meters) of the sides on the Y axis. |
55 | 55 | * |
56 | 56 | * @param &array $dom_attributes |
57 | - * @param float|int $height |
|
57 | + * @param double $height |
|
58 | 58 | * @return void |
59 | 59 | */ |
60 | 60 | public function height(array &$dom_attributes, float $height) |
@@ -66,7 +66,7 @@ discard block |
||
66 | 66 | * Width (in meters) of the sides on the X axis. |
67 | 67 | * |
68 | 68 | * @param &array $dom_attributes |
69 | - * @param float|int $width |
|
69 | + * @param double $width |
|
70 | 70 | * @return void |
71 | 71 | */ |
72 | 72 | public function width(array &$dom_attributes, float $width) |
@@ -45,7 +45,7 @@ discard block |
||
45 | 45 | * Radius (in meters) of the circle. |
46 | 46 | * |
47 | 47 | * @param &array $dom_attributes |
48 | - * @param float|int $radius |
|
48 | + * @param double $radius |
|
49 | 49 | * @return void |
50 | 50 | */ |
51 | 51 | public function radius(array &$dom_attributes, float $radius) |
@@ -73,7 +73,7 @@ discard block |
||
73 | 73 | * Can be used to define a partial circle. |
74 | 74 | * |
75 | 75 | * @param &array $dom_attributes |
76 | - * @param float|int $thetaStart |
|
76 | + * @param double $thetaStart |
|
77 | 77 | * @return void |
78 | 78 | */ |
79 | 79 | public function thetaStart(array &$dom_attributes, float $thetaStart) |
@@ -85,7 +85,7 @@ discard block |
||
85 | 85 | * Defaults to 360, which makes for a complete circle. |
86 | 86 | * |
87 | 87 | * @param &array $dom_attributes |
88 | - * @param float|int $thetaLength |
|
88 | + * @param double $thetaLength |
|
89 | 89 | * @return void |
90 | 90 | */ |
91 | 91 | public function thetaLength(array &$dom_attributes, float $thetaLength) |
@@ -52,7 +52,7 @@ discard block |
||
52 | 52 | * Height of the cone. |
53 | 53 | * |
54 | 54 | * @param &array $dom_attributes |
55 | - * @param float|int $height |
|
55 | + * @param double $height |
|
56 | 56 | * @return void |
57 | 57 | */ |
58 | 58 | public function height(array &$dom_attributes, float $height) |
@@ -77,7 +77,7 @@ discard block |
||
77 | 77 | * Radius of the bottom end of the cone. |
78 | 78 | * |
79 | 79 | * @param &array $dom_attributes |
80 | - * @param float|int $radiusBottom |
|
80 | + * @param double $radiusBottom |
|
81 | 81 | * @return void |
82 | 82 | */ |
83 | 83 | public function radiusBottom(array &$dom_attributes, float $radiusBottom) |
@@ -89,7 +89,6 @@ discard block |
||
89 | 89 | * Radius of the top end of the cone. |
90 | 90 | * |
91 | 91 | * @param &array $dom_attributes |
92 | - * @param float|int $radiusBottom |
|
93 | 92 | * @return void |
94 | 93 | */ |
95 | 94 | public function radiusTop(array &$dom_attributes, float $radiusTop) |
@@ -125,7 +124,7 @@ discard block |
||
125 | 124 | * Starting angle in degrees. |
126 | 125 | * |
127 | 126 | * @param &array $dom_attributes |
128 | - * @param float|int $thetaStart |
|
127 | + * @param double $thetaStart |
|
129 | 128 | * @return void |
130 | 129 | */ |
131 | 130 | public function thetaStart(array &$dom_attributes, float $thetaStart) |
@@ -137,7 +136,7 @@ discard block |
||
137 | 136 | * Central angle in degrees. |
138 | 137 | * |
139 | 138 | * @param &array $dom_attributes |
140 | - * @param float|int $thetaLength |
|
139 | + * @param double $thetaLength |
|
141 | 140 | * @return void |
142 | 141 | */ |
143 | 142 | public function thetaLength(array &$dom_attributes, float $thetaLength) |
@@ -58,7 +58,7 @@ discard block |
||
58 | 58 | * Height of the cylinder. |
59 | 59 | * |
60 | 60 | * @param &array $dom_attributes |
61 | - * @param float|int $height |
|
61 | + * @param double $height |
|
62 | 62 | * @return void |
63 | 63 | */ |
64 | 64 | public function height(array &$dom_attributes, float $height) |
@@ -83,7 +83,7 @@ discard block |
||
83 | 83 | * Radius of the cylinder. |
84 | 84 | * |
85 | 85 | * @param &array $dom_attributes |
86 | - * @param float|int $radius |
|
86 | + * @param double $radius |
|
87 | 87 | * @return void |
88 | 88 | */ |
89 | 89 | public function radius(array &$dom_attributes, float $radius) |
@@ -107,7 +107,7 @@ discard block |
||
107 | 107 | * Central angle in degrees. |
108 | 108 | * |
109 | 109 | * @param &array $dom_attributes |
110 | - * @param float|int $thetaLength |
|
110 | + * @param double $thetaLength |
|
111 | 111 | * @return void |
112 | 112 | */ |
113 | 113 | public function thetaLength(array &$dom_attributes, float $thetaLength) |
@@ -119,7 +119,7 @@ discard block |
||
119 | 119 | * Starting angle in degrees. |
120 | 120 | * |
121 | 121 | * @param &array $dom_attributes |
122 | - * @param float|int $thetaStart |
|
122 | + * @param double $thetaStart |
|
123 | 123 | * @return void |
124 | 124 | */ |
125 | 125 | public function thetaStart(array &$dom_attributes, float $thetaStart) |
@@ -42,7 +42,7 @@ discard block |
||
42 | 42 | * Height along the Y axis. |
43 | 43 | * |
44 | 44 | * @param &array $dom_attributes |
45 | - * @param float|int $height |
|
45 | + * @param double $height |
|
46 | 46 | * @return void |
47 | 47 | */ |
48 | 48 | public function height(array &$dom_attributes, float $height) |
@@ -54,7 +54,7 @@ discard block |
||
54 | 54 | * Width along the X axis. |
55 | 55 | * |
56 | 56 | * @param &array $dom_attributes |
57 | - * @param float|int $width |
|
57 | + * @param double $width |
|
58 | 58 | * @return void |
59 | 59 | */ |
60 | 60 | public function width(array &$dom_attributes, float $width) |
@@ -50,7 +50,7 @@ discard block |
||
50 | 50 | * Radius of the inner hole of the ring. |
51 | 51 | * |
52 | 52 | * @param &array $dom_attributes |
53 | - * @param float|int $radiusInner |
|
53 | + * @param double $radiusInner |
|
54 | 54 | * @return void |
55 | 55 | */ |
56 | 56 | public function radiusInner(array &$dom_attributes, float $radiusInner) |
@@ -62,7 +62,7 @@ discard block |
||
62 | 62 | * Radius of the outer edge of the ring. |
63 | 63 | * |
64 | 64 | * @param &array $dom_attributes |
65 | - * @param float|int $radiusOuter |
|
65 | + * @param double $radiusOuter |
|
66 | 66 | * @return void |
67 | 67 | */ |
68 | 68 | public function radiusOuter(array &$dom_attributes, float $radiusOuter) |
@@ -74,7 +74,7 @@ discard block |
||
74 | 74 | * Central angle in degrees. |
75 | 75 | * |
76 | 76 | * @param &array $dom_attributes |
77 | - * @param float|int $thetaLength |
|
77 | + * @param double $thetaLength |
|
78 | 78 | * @return void |
79 | 79 | */ |
80 | 80 | public function thetaLength(array &$dom_attributes, float $thetaLength) |
@@ -85,8 +85,8 @@ discard block |
||
85 | 85 | /** |
86 | 86 | * Starting angle in degrees. |
87 | 87 | * |
88 | - * @param &array $dom_attributess |
|
89 | - * @param float|int $thetaStart |
|
88 | + * @param &array $dom_attributes |
|
89 | + * @param double $thetaStart |
|
90 | 90 | * @return void |
91 | 91 | */ |
92 | 92 | public function thetaStart(array &$dom_attributes, float $thetaStart) |
@@ -55,7 +55,7 @@ discard block |
||
55 | 55 | * Radius of the sphere. |
56 | 56 | * |
57 | 57 | * @param &array $dom_attributes |
58 | - * @param float|int $radius |
|
58 | + * @param double $radius |
|
59 | 59 | * @return void |
60 | 60 | */ |
61 | 61 | public function radius(array &$dom_attributes, float $radius) |
@@ -91,7 +91,7 @@ discard block |
||
91 | 91 | * Horizontal starting angle. |
92 | 92 | * |
93 | 93 | * @param &array $dom_attributes |
94 | - * @param float|int $phiStart |
|
94 | + * @param double $phiStart |
|
95 | 95 | * @return void |
96 | 96 | */ |
97 | 97 | public function phiStart(array &$dom_attributes, float $phiStart) |
@@ -103,7 +103,7 @@ discard block |
||
103 | 103 | * Horizontal sweep angle size. |
104 | 104 | * |
105 | 105 | * @param &array $dom_attributes |
106 | - * @param float|int $phiLength |
|
106 | + * @param double $phiLength |
|
107 | 107 | * @return void |
108 | 108 | */ |
109 | 109 | public function phiLength(array &$dom_attributes, float $phiLength = null) |
@@ -115,7 +115,7 @@ discard block |
||
115 | 115 | * Vertical starting angle. |
116 | 116 | * |
117 | 117 | * @param &array $dom_attributes |
118 | - * @param float|int $thetaStart |
|
118 | + * @param double $thetaStart |
|
119 | 119 | * @return void |
120 | 120 | */ |
121 | 121 | public function thetaStart(array &$dom_attributes, float $thetaStart) |
@@ -127,7 +127,7 @@ discard block |
||
127 | 127 | * Vertical sweep angle size. |
128 | 128 | * |
129 | 129 | * @param &array $dom_attributes |
130 | - * @param float|int $thetaLength |
|
130 | + * @param double $thetaLength |
|
131 | 131 | * @return void |
132 | 132 | */ |
133 | 133 | public function thetaLength(array &$dom_attributes, float $thetaLength) |