Passed
Pull Request — master (#15)
by Peter
03:48 queued 01:32
created
AnalyzerText/Analyzer/Frequency.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -70,9 +70,9 @@
 block discarded – undo
70 70
     public function getPercent()
71 71
     {
72 72
         if (empty($this->percent) && ($frequencies = $this->getFrequency())) {
73
-            $ratio = max($frequencies) / 100;
73
+            $ratio = max($frequencies)/100;
74 74
             foreach ($frequencies as $word => $frequency) {
75
-                $this->percent[$word] = $frequency / $ratio;
75
+                $this->percent[$word] = $frequency/$ratio;
76 76
             }
77 77
         }
78 78
 
Please login to merge, or discard this patch.