@@ -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 | } |
@@ -44,7 +44,7 @@ |
||
44 | 44 | } |
45 | 45 | |
46 | 46 | /** |
47 | - * @return Article|MockObject |
|
47 | + * @return Article |
|
48 | 48 | */ |
49 | 49 | private function createArticle(): Article |
50 | 50 | { |
@@ -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 |