Skip to content

Commit 7d2bef6

Browse files
committed
Remove mutation return
1 parent 61e83de commit 7d2bef6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Category.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,9 @@ public static function pointsFor($checkName, $metric)
4747
$points = self::$checks[$checkName][1];
4848

4949
if ($points && $metric) {
50-
return $points *= $metric;
50+
$points *= $metric;
5151
}
52-
52+
5353
return $points;
5454
}
5555

0 commit comments

Comments
 (0)