Passed
Push — master ( a34811...666064 )
by Arkadiusz
03:07
created
src/Phpml/Classification/NaiveBayes.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Phpml\Classification;
6 6
 
@@ -101,7 +101,7 @@  discard block
 block discarded – undo
101 101
                 $this->dataType[$label][$i] = self::NOMINAL;
102 102
                 $this->discreteProb[$label][$i] = array_count_values($values);
103 103
                 $db = &$this->discreteProb[$label][$i];
104
-                $db = array_map(function ($el) use ($numValues) {
104
+                $db = array_map(function($el) use ($numValues) {
105 105
                     return $el / $numValues;
106 106
                 }, $db);
107 107
             } else {
Please login to merge, or discard this patch.