Completed
Push — master ( 7a68f4...7cee4d )
by Benjamin
28:12
created
Menu/Menu.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -103,7 +103,7 @@
 block discarded – undo
103 103
     public static function getDeleteStrategiesAvailable()
104 104
     {
105 105
         return [
106
-          self::DELETE_STRATEGY_MOVE_CHILDREN,
106
+            self::DELETE_STRATEGY_MOVE_CHILDREN,
107 107
         ];
108 108
     }
109 109
 }
Please login to merge, or discard this patch.
Controller/Admin/CRUD/ItemAdmin.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -136,9 +136,9 @@  discard block
 block discarded – undo
136 136
                     $qb = $repository->createQueryBuilder('i');
137 137
 
138 138
                     if ($parentItem->getParent() === null) {
139
-                         return $qb->where('i.parent IS NULL')
140
-                             ->andWhere('i.menu = :id')
141
-                             ->setParameter('id', $parentItem->getMenu());
139
+                            return $qb->where('i.parent IS NULL')
140
+                                ->andWhere('i.menu = :id')
141
+                                ->setParameter('id', $parentItem->getMenu());
142 142
                     }
143 143
 
144 144
                     return $qb->where('i.id IN (:ids)')
@@ -208,7 +208,7 @@  discard block
 block discarded – undo
208 208
 
209 209
         if (!Item::uriTypeExists($uriType)) {
210 210
             $form->get('uri')->addError(new FormError(
211
-               'Le type d\'url est invalide !'
211
+                'Le type d\'url est invalide !'
212 212
             ));
213 213
 
214 214
             return;
Please login to merge, or discard this patch.