Completed
Push — master ( c3f4e5...495a30 )
by Marko
02:36
created
src/Components/Geometry.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -554,7 +554,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
src/Components/Material.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -120,7 +120,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
src/Components/Rotation.php 1 patch
Doc Comments   +1 added lines, -3 removed lines patch added patch discarded remove patch
@@ -62,7 +62,6 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
src/Core/Helpers/MeshAttributes.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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)
Please login to merge, or discard this patch.
src/Core/Scene.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -33,6 +33,9 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
src/Components/Position.php 1 patch
Doc Comments   +1 added lines, -3 removed lines patch added patch discarded remove patch
@@ -62,7 +62,6 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
src/Interfaces/PrimitiveInterface.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -28,12 +28,14 @@
 block discarded – undo
28 28
     /**
29 29
      * Primitve init called from entir=ty constructor must load all components for this primitive
30 30
      * Ex: $this->component('Position')
31
+     * @return void
31 32
      */
32 33
     public function init();
33 34
     
34 35
     /**
35 36
      * Defaults method is called in primitvie constructor to set
36 37
      * primitives default values for loaded components.
38
+     * @return void
37 39
      */
38 40
     public function defaults();
39 41
 }
Please login to merge, or discard this patch.