@@ -554,7 +554,7 @@ |
||
| 554 | 554 | /** |
| 555 | 555 | * Is called method allowed for current primitive |
| 556 | 556 | * |
| 557 | - * @param unknown $method |
|
| 557 | + * @param string $method |
|
| 558 | 558 | */ |
| 559 | 559 | protected function isPrimitiveMethod($method) |
| 560 | 560 | { |
@@ -120,7 +120,7 @@ |
||
| 120 | 120 | /** |
| 121 | 121 | * Get DOMAttr for the entity |
| 122 | 122 | * |
| 123 | - * @return DOMAttr |
|
| 123 | + * @return \DOMAttr |
|
| 124 | 124 | */ |
| 125 | 125 | public function getDOMAttributes(): \DOMAttr |
| 126 | 126 | { |
@@ -61,7 +61,6 @@ discard block |
||
| 61 | 61 | /** |
| 62 | 62 | * Set initial coordinates |
| 63 | 63 | * |
| 64 | - * @param string $coordinates |
|
| 65 | 64 | */ |
| 66 | 65 | public function __construct($x = 0, $y = 0, $z = 0) |
| 67 | 66 | { |
@@ -109,7 +108,7 @@ discard block |
||
| 109 | 108 | /** |
| 110 | 109 | * Get DOMAttr for the entity |
| 111 | 110 | * |
| 112 | - * @return DOMAttr |
|
| 111 | + * @return \DOMAttr |
|
| 113 | 112 | */ |
| 114 | 113 | public function getDOMAttributes(): \DOMAttr |
| 115 | 114 | { |
@@ -119,7 +118,6 @@ discard block |
||
| 119 | 118 | /** |
| 120 | 119 | * Update coordinates |
| 121 | 120 | * |
| 122 | - * @param string $coordinates |
|
| 123 | 121 | */ |
| 124 | 122 | public function update($x = 0, $y = 0, $z = 0) |
| 125 | 123 | { |
@@ -62,7 +62,6 @@ discard block |
||
| 62 | 62 | /** |
| 63 | 63 | * Set initial coordinates |
| 64 | 64 | * |
| 65 | - * @param string $coordinates |
|
| 66 | 65 | */ |
| 67 | 66 | public function __construct($x = 0, $y = 0, $z = 0) |
| 68 | 67 | { |
@@ -110,7 +109,7 @@ discard block |
||
| 110 | 109 | /** |
| 111 | 110 | * Get DOMAttr for the entity |
| 112 | 111 | * |
| 113 | - * @return DOMAttr |
|
| 112 | + * @return \DOMAttr |
|
| 114 | 113 | */ |
| 115 | 114 | public function getDOMAttributes(): \DOMAttr |
| 116 | 115 | { |
@@ -120,7 +119,6 @@ discard block |
||
| 120 | 119 | /** |
| 121 | 120 | * Update coordinates |
| 122 | 121 | * |
| 123 | - * @param string $coordinates |
|
| 124 | 122 | */ |
| 125 | 123 | public function update($x = 0, $y = 0, $z = 0) |
| 126 | 124 | { |
@@ -51,7 +51,7 @@ discard block |
||
| 51 | 51 | /** |
| 52 | 52 | * material.metalness |
| 53 | 53 | * |
| 54 | - * @param string $metalness |
|
| 54 | + * @param integer $metalness |
|
| 55 | 55 | * @return \AframeVR\Core\Helpers\MeshAttributes |
| 56 | 56 | */ |
| 57 | 57 | public function metalness($metalness = 0) |
@@ -65,7 +65,7 @@ discard block |
||
| 65 | 65 | /** |
| 66 | 66 | * material.roughness |
| 67 | 67 | * |
| 68 | - * @param string $roughness |
|
| 68 | + * @param double $roughness |
|
| 69 | 69 | * @return \AframeVR\Core\Helpers\MeshAttributes |
| 70 | 70 | */ |
| 71 | 71 | public function roughness($roughness = 0.5) |
@@ -119,7 +119,7 @@ discard block |
||
| 119 | 119 | /** |
| 120 | 120 | * material.opacity |
| 121 | 121 | * |
| 122 | - * @param string $opacity |
|
| 122 | + * @param integer $opacity |
|
| 123 | 123 | * @return \AframeVR\Core\Helpers\MeshAttributes |
| 124 | 124 | */ |
| 125 | 125 | public function opacity($opacity = 0) |
@@ -33,6 +33,9 @@ |
||
| 33 | 33 | |
| 34 | 34 | private $name; |
| 35 | 35 | |
| 36 | + /** |
|
| 37 | + * @param string $name |
|
| 38 | + */ |
|
| 36 | 39 | public function __construct($name) |
| 37 | 40 | { |
| 38 | 41 | $this->name = $name; |