@@ -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 |
@@ -50,7 +50,7 @@ |
||
50 | 50 | } |
51 | 51 | |
52 | 52 | /** |
53 | - * @return UrlGeneratorInterface|MockObject |
|
53 | + * @return UrlGeneratorInterface |
|
54 | 54 | */ |
55 | 55 | private function createUrlGeneratorInterfaceMock(): UrlGeneratorInterface |
56 | 56 | { |
@@ -46,6 +46,6 @@ |
||
46 | 46 | ->setParameter('published', true) |
47 | 47 | ->getQuery() |
48 | 48 | ->getOneOrNullResult() |
49 | - ; |
|
49 | + ; |
|
50 | 50 | } |
51 | 51 | } |