Completed
Push — develop ( 01a249...bb9e1a )
by Arkadiusz
02:44
created
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   +6 added lines, -6 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)
@@ -125,7 +125,7 @@  discard block
 block discarded – undo
125 125
     }
126 126
 
127 127
     /**
128
-     * @param $nbClusters
128
+     * @param integer $nbClusters
129 129
      * @param int  $seed
130 130
      * @param null $iterationCallback
131 131
      *
@@ -156,9 +156,9 @@  discard block
 block discarded – undo
156 156
 
157 157
     /**
158 158
      * @param $nbClusters
159
-     * @param $seed
159
+     * @param integer $seed
160 160
      *
161
-     * @return array
161
+     * @return Cluster[]
162 162
      */
163 163
     protected function initializeClusters($nbClusters, $seed)
164 164
     {
@@ -221,7 +221,7 @@  discard block
 block discarded – undo
221 221
     }
222 222
 
223 223
     /**
224
-     * @param $clusters
224
+     * @param Cluster[] $clusters
225 225
      *
226 226
      * @return bool
227 227
      */
Please login to merge, or discard this patch.