@@ -51,7 +51,7 @@ |
||
51 | 51 | $minDiff = 1; |
52 | 52 | |
53 | 53 | foreach ($this->sidebarTagSizes as $tagPercent) { |
54 | - if (($diff = abs($tag['weight'] / $maxWeight - $tagPercent / 100)) < $minDiff) { |
|
54 | + if (($diff = abs($tag['weight']/$maxWeight - $tagPercent/100)) < $minDiff) { |
|
55 | 55 | $minDiff = $diff; |
56 | 56 | $percentage = $tagPercent; |
57 | 57 | } |
@@ -54,7 +54,7 @@ |
||
54 | 54 | 'decorate' => true, |
55 | 55 | 'representationField' => 'slug', |
56 | 56 | 'html' => true, |
57 | - 'nodeDecorator' => function ($node) use ($showNumber) { |
|
57 | + 'nodeDecorator' => function($node) use ($showNumber) { |
|
58 | 58 | /** @var Category $category */ |
59 | 59 | $category = $node[0]; |
60 | 60 |