Completed
Push — develop ( abd3b3...3fd5ab )
by Arkadiusz
03:51
created
src/Phpml/Math/Matrix.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -91,7 +91,7 @@
 block discarded – undo
91 91
     }
92 92
 
93 93
     /**
94
-     * @param $column
94
+     * @param integer $column
95 95
      *
96 96
      * @return array
97 97
      *
Please login to merge, or discard this patch.
src/Phpml/Clustering/KMeans/Cluster.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -128,7 +128,7 @@
 block discarded – undo
128 128
     }
129 129
 
130 130
     /**
131
-     * @return mixed
131
+     * @return integer
132 132
      */
133 133
     public function count()
134 134
     {
Please login to merge, or discard this patch.
src/Phpml/Clustering/KMeans/Space.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@  discard block
 block discarded – undo
17 17
     protected $dimension;
18 18
 
19 19
     /**
20
-     * @param $dimension
20
+     * @param integer $dimension
21 21
      */
22 22
     public function __construct($dimension)
23 23
     {
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
     }
66 66
 
67 67
     /**
68
-     * @param object $point
68
+     * @param Point $point
69 69
      * @param null   $data
70 70
      */
71 71
     public function attach($point, $data = null)
@@ -128,7 +128,7 @@  discard block
 block discarded – undo
128 128
      * @param int $clustersNumber
129 129
      * @param int $initMethod
130 130
      *
131
-     * @return array|Cluster[]
131
+     * @return Cluster[]
132 132
      */
133 133
     public function cluster(int $clustersNumber, int $initMethod = KMeans::INIT_RANDOM)
134 134
     {
@@ -144,7 +144,7 @@  discard block
 block discarded – undo
144 144
      * @param $clustersNumber
145 145
      * @param $initMethod
146 146
      *
147
-     * @return array|Cluster[]
147
+     * @return Cluster[]
148 148
      */
149 149
     protected function initializeClusters(int $clustersNumber, int $initMethod)
150 150
     {
@@ -189,7 +189,7 @@  discard block
 block discarded – undo
189 189
     }
190 190
 
191 191
     /**
192
-     * @param $clusters
192
+     * @param Cluster[] $clusters
193 193
      *
194 194
      * @return bool
195 195
      */
Please login to merge, or discard this patch.