@@ -136,9 +136,9 @@ discard block |
||
| 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)') |
@@ -209,7 +209,7 @@ discard block |
||
| 209 | 209 | $uriType = $request->request->get('uri_type'); |
| 210 | 210 | if (empty($uriType) || !in_array($uriType, [Item::URI_TYPE_EXTERNAL, Item::URI_TYPE_INTERNAL])) { |
| 211 | 211 | $form->get('uri')->addError(new FormError( |
| 212 | - 'Le type d\'url est invalide !' |
|
| 212 | + 'Le type d\'url est invalide !' |
|
| 213 | 213 | )); |
| 214 | 214 | |
| 215 | 215 | return; |
@@ -103,7 +103,7 @@ |
||
| 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 | } |