Completed
Push — master ( 121b59...921fdf )
by Craig
07:11
created
src/system/ThemeModule/Entity/Repository/ThemeEntityRepository.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -115,6 +115,9 @@
 block discarded – undo
115 115
         $this->_em->flush();
116 116
     }
117 117
 
118
+    /**
119
+     * @param ThemeEntity $entity
120
+     */
118 121
     public function persistAndFlush($entity)
119 122
     {
120 123
         $this->_em->persist($entity);
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -91,7 +91,7 @@
 block discarded – undo
91 91
         $result = $query->getResult();
92 92
         $themesArray = [];
93 93
         foreach ($result as $theme) {
94
-            $themesArray[$theme->getName()]= $theme->toArray();
94
+            $themesArray[$theme->getName()] = $theme->toArray();
95 95
             $kernel = $this->getKernel(); // allow to throw exception outside the try/catch block
96 96
             try {
97 97
                 $themeBundle = $kernel->getTheme($theme['name']);
Please login to merge, or discard this patch.