Completed
Pull Request — master (#13)
by Benjamin
02:12
created
src/KMeans/Space.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -53,6 +53,9 @@  discard block
 block discarded – undo
53 53
         static::$rng = $fn;
54 54
     }
55 55
 
56
+    /**
57
+     * @param EuclidianDistance $algo
58
+     */
56 59
     public function setDistanceAlgorithm($algo): void
57 60
     {
58 61
         if (is_callable($algo) && ! $algo instanceof DistanceAlgorithmInterface) {
@@ -98,6 +101,9 @@  discard block
 block discarded – undo
98 101
         return $point;
99 102
     }
100 103
 
104
+    /**
105
+     * @param Point $point
106
+     */
101 107
     public function attach($point, $data = null): void
102 108
     {
103 109
         if (!$point instanceof Point) {
Please login to merge, or discard this patch.