Completed
Push — master ( bec3f6...299871 )
by Marko
06:22
created
src/Core/Components/Geometry/Methods/BoxMethods.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
      * segmentsHeight
79 79
      * 
80 80
      * @param array $dom_attributes
81
-     * @param number $int
81
+     * @param integer $int
82 82
      */
83 83
     public function segmentsHeight(array &$dom_attributes, $int = 0)
84 84
     {
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
      * segmentsWidth
90 90
      * 
91 91
      * @param array $dom_attributes
92
-     * @param number $int
92
+     * @param integer $int
93 93
      */
94 94
     public function segmentsWidth(array &$dom_attributes, $int = 0)
95 95
     {
@@ -100,7 +100,7 @@  discard block
 block discarded – undo
100 100
      * segmentsDepth
101 101
      * 
102 102
      * @param array $dom_attributes
103
-     * @param number $int
103
+     * @param integer $int
104 104
      */
105 105
     public function segmentsDepth(array &$dom_attributes, $int = 0)
106 106
     {
Please login to merge, or discard this patch.
src/Core/Entity.php 1 patch
Doc Comments   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -120,7 +120,7 @@  discard block
 block discarded – undo
120 120
     /**
121 121
      * Child entity / primitive
122 122
      *
123
-     * @return EntityChildrenFactory
123
+     * @return Helpers\EntityChildrenFactory
124 124
      */
125 125
     public function child(): EntityChildrenFactory
126 126
     {
@@ -132,10 +132,10 @@  discard block
 block discarded – undo
132 132
      *
133 133
      * All entities inherently have the position component.
134 134
      *
135
-     * @param int|float $x_axis            
136
-     * @param int|float $y_axis            
137
-     * @param int|float $z_axis            
138
-     * @return EntityInterface
135
+     * @param integer $x_axis            
136
+     * @param integer $y_axis            
137
+     * @param integer $z_axis            
138
+     * @return \AframeVR\Interfaces\EntityInterface
139 139
      */
140 140
     public function position(float $x_axis = 0, float $y_axis = 0, float $z_axis = 0): EntityInterface
141 141
     {
@@ -153,7 +153,7 @@  discard block
 block discarded – undo
153 153
      * @param int|float $roll            
154 154
      * @param int|float $pitch            
155 155
      * @param int|float $yaw            
156
-     * @return EntityInterface
156
+     * @return \AframeVR\Interfaces\EntityInterface
157 157
      */
158 158
     public function rotation(float $roll = 0, float $pitch = 0, float $yaw = 0): EntityInterface
159 159
     {
@@ -171,7 +171,7 @@  discard block
 block discarded – undo
171 171
      * @param int|float $scale_x            
172 172
      * @param int|float $scale_y            
173 173
      * @param int|float $scale_z            
174
-     * @return EntityInterface
174
+     * @return \AframeVR\Interfaces\EntityInterface
175 175
      */
176 176
     public function scale(float $scale_x = 1, float $scale_y = 1, float $scale_z = 1): EntityInterface
177 177
     {
Please login to merge, or discard this patch.
src/Extras/Primitives/Box.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -73,7 +73,6 @@
 block discarded – undo
73 73
     /**
74 74
      * geometry.width
75 75
      *
76
-     * @param float $height            
77 76
      * @return self
78 77
      */
79 78
     public function width(float $width): self
Please login to merge, or discard this patch.
src/Extras/Primitives/Cylinder.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
     /**
32 32
      * geometry.height
33 33
      *
34
-     * @param int|float $height            
34
+     * @param double $height            
35 35
      * @return VideoPrimitiveIF
36 36
      */
37 37
     public function height(float $height = 1.75): VideoPrimitiveIF;
Please login to merge, or discard this patch.
src/Core/Assets/Mixin.php 1 patch
Doc Comments   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -93,7 +93,7 @@  discard block
 block discarded – undo
93 93
      * material.color
94 94
      *
95 95
      * @param string $color
96
-     * @return EntityInterface
96
+     * @return Mixin
97 97
      */
98 98
     public function color(string $color = 'gray')
99 99
     {
@@ -107,7 +107,7 @@  discard block
 block discarded – undo
107 107
      * material.metalness
108 108
      *
109 109
      * @param int|float $metalness
110
-     * @return EntityInterface
110
+     * @return Mixin
111 111
      */
112 112
     public function metalness(float $metalness = 0)
113 113
     {
@@ -121,7 +121,7 @@  discard block
 block discarded – undo
121 121
      * material.roughness
122 122
      *
123 123
      * @param float $roughness
124
-     * @return EntityInterface
124
+     * @return Mixin
125 125
      */
126 126
     public function roughness(float $roughness = 0.5)
127 127
     {
@@ -135,7 +135,7 @@  discard block
 block discarded – undo
135 135
      * material.src
136 136
      *
137 137
      * @param null|string $src
138
-     * @return EntityInterface
138
+     * @return Mixin
139 139
      */
140 140
     public function src(string $src = null)
141 141
     {
@@ -151,7 +151,7 @@  discard block
 block discarded – undo
151 151
      * @param int|float $x
152 152
      * @param int|float $y
153 153
      * @param int|float $z
154
-     * @return EntityInterface
154
+     * @return Mixin
155 155
      */
156 156
     public function translate(float $x = 0, float $y = 0, float $z = 0)
157 157
     {
@@ -163,7 +163,7 @@  discard block
 block discarded – undo
163 163
      * material.shader
164 164
      *
165 165
      * @param string $shader
166
-     * @return EntityInterface
166
+     * @return Mixin
167 167
      */
168 168
     public function shader($shader = 'standard')
169 169
     {
@@ -175,7 +175,7 @@  discard block
 block discarded – undo
175 175
      * material.opacity
176 176
      *
177 177
      * @param float $opacity
178
-     * @return EntityInterface
178
+     * @return Mixin
179 179
      */
180 180
     public function opacity(float $opacity = 1.0)
181 181
     {
@@ -187,7 +187,7 @@  discard block
 block discarded – undo
187 187
      * material.transparent
188 188
      *
189 189
      * @param bool $transparent
190
-     * @return EntityInterface
190
+     * @return Mixin
191 191
      */
192 192
     public function transparent(bool $transparent = false)
193 193
     {
Please login to merge, or discard this patch.
src/Extras/Primitives/Camera.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -137,7 +137,7 @@
 block discarded – undo
137 137
     /**
138 138
      * camera.zoom
139 139
      *
140
-     * @param int|float $zoom            
140
+     * @param double $zoom            
141 141
      * @return \AframeVR\Extras\Primitives\Camera
142 142
      */
143 143
     public function zoom(float $zoom)
Please login to merge, or discard this patch.
src/Extras/Primitives/Circle.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
     /**
56 56
      * geometry.segments
57 57
      *
58
-     * @param int $segments            
58
+     * @param double $segments            
59 59
      * @return \AframeVR\Extras\Primitives\Circle
60 60
      */
61 61
     public function segments(float $segments)
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
     /**
80 80
      * geometry.thetaStart
81 81
      *
82
-     * @param int $theta_start            
82
+     * @param double $theta_start            
83 83
      * @return \AframeVR\Extras\Primitives\Circle
84 84
      */
85 85
     public function thetaStart(float $theta_start)
Please login to merge, or discard this patch.
src/Extras/Primitives/Cone.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -106,7 +106,7 @@
 block discarded – undo
106 106
     /**
107 107
      * geometry.segmentsRadial
108 108
      *
109
-     * @param in $s_radial            
109
+     * @param integer $s_radial            
110 110
      * @return \AframeVR\Extras\Primitives\Cone
111 111
      */
112 112
     public function segmentsRadial(int $s_radial)
Please login to merge, or discard this patch.