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.
tests/Unit/ViewsCounterTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
     }
45 45
 
46 46
     /**
47
-     * @return Article|MockObject
47
+     * @return Article
48 48
      */
49 49
     private function createArticle(): Article
50 50
     {
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.
tests/Unit/Router/PublicationUrlGeneratorTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@
 block discarded – undo
50 50
     }
51 51
 
52 52
     /**
53
-     * @return UrlGeneratorInterface|MockObject
53
+     * @return UrlGeneratorInterface
54 54
      */
55 55
     private function createUrlGeneratorInterfaceMock(): UrlGeneratorInterface
56 56
     {
Please login to merge, or discard this patch.
src/Entity/PageRepository.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,6 +46,6 @@
 block discarded – undo
46 46
             ->setParameter('published', true)
47 47
             ->getQuery()
48 48
             ->getOneOrNullResult()
49
-         ;
49
+            ;
50 50
     }
51 51
 }
Please login to merge, or discard this patch.