diff --git a/Twig/RatingExtension.php b/Twig/RatingExtension.php index a8c560b..12dcab9 100644 --- a/Twig/RatingExtension.php +++ b/Twig/RatingExtension.php @@ -40,9 +40,7 @@ public function showRating($rating) if ($rating < $count) { $output = $output . $this->starEmpty; - } elseif($rating == $count) { - $output = $output . $this->starHalfEmpty; - }else { + } else { $output = $output . $this->starFull; } }