Completed
Push — master ( be91cc...73af6d )
by Yaroslav
29s queued 15s
created
Category
src/Sidebar/Tags.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@
 block discarded – undo
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
                 }
Please login to merge, or discard this patch.
src/Controller/SidebarController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
                 'decorate' => true,
34 34
                 'representationField' => 'slug',
35 35
                 'html' => true,
36
-                'nodeDecorator' => function (array $node) use ($showNumber): string {
36
+                'nodeDecorator' => function(array $node) use ($showNumber): string {
37 37
                     /** @var Category $category */
38 38
                     $category = $node[0];
39 39
 
Please login to merge, or discard this patch.