Completed
Pull Request — master (#40)
by
unknown
02:45
created
src/Phpml/Classification/DecisionTree.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -139,7 +139,7 @@  discard block
 block discarded – undo
139 139
     /**
140 140
      * @param array $records
141 141
      *
142
-     * @return DecisionTreeLeaf[]
142
+     * @return null|DecisionTreeLeaf
143 143
      */
144 144
     protected function getBestSplit($records)
145 145
     {
@@ -268,7 +268,7 @@  discard block
 block discarded – undo
268 268
     /**
269 269
      * @param array $sample
270 270
      *
271
-     * @return mixed
271
+     * @return string
272 272
      */
273 273
     protected function predictSample(array $sample)
274 274
     {
Please login to merge, or discard this patch.