Completed
Push — master ( 613542...01b9e4 )
by Yaroslav
03:27 queued 35s
created
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
@@ -54,7 +54,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.