Completed
Push — master ( a6c9b1...ba2775 )
by Yaroslav
23:40
created
src/Entity/TranslationRepository.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -35,8 +35,7 @@
 block discarded – undo
35 35
                 ->getConfiguration($this->_em, get_class($entity));
36 36
 
37 37
             $translationClass = isset($config['translationClass']) ?
38
-                $config['translationClass'] :
39
-                $translationMeta->rootEntityName;
38
+                $config['translationClass'] : $translationMeta->rootEntityName;
40 39
 
41 40
             $qb = $this->_em->createQueryBuilder();
42 41
             $qb->select('trans.content, trans.field, trans.locale')
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
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
                 'decorate' => true,
19 19
                 'representationField' => 'slug',
20 20
                 'html' => true,
21
-                'nodeDecorator' => function ($node) use ($showNumber) {
21
+                'nodeDecorator' => function($node) use ($showNumber) {
22 22
                     // Silent missing IDE warning
23 23
                     return sprintf('<a href=' . '"%s">%s</a>' . ($showNumber ? ' (%d)' : ''),
24 24
                         $this->generateUrl("harentius_blog_category_{$node['id']}"),
Please login to merge, or discard this patch.
src/EventListener/SitemapListener.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -115,7 +115,7 @@
 block discarded – undo
115 115
         }
116 116
 
117 117
         // Categories
118
-        $addCategoriesRoutes = function ($categories) use ($event, &$addCategoriesRoutes) {
118
+        $addCategoriesRoutes = function($categories) use ($event, &$addCategoriesRoutes) {
119 119
             foreach ($categories as $category) {
120 120
                 $event->getGenerator()->addUrl(
121 121
                     new UrlConcrete(
Please login to merge, or discard this patch.
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.