@@ -1,10 +1,10 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * Created by PhpStorm. |
|
| 4 | - * User: paulandrieux |
|
| 5 | - * Date: 17/03/2016 |
|
| 6 | - * Time: 17:28 |
|
| 7 | - */ |
|
| 3 | + * Created by PhpStorm. |
|
| 4 | + * User: paulandrieux |
|
| 5 | + * Date: 17/03/2016 |
|
| 6 | + * Time: 17:28 |
|
| 7 | + */ |
|
| 8 | 8 | |
| 9 | 9 | namespace Victoire\Bundle\WidgetBundle\Resolver; |
| 10 | 10 | |
@@ -28,10 +28,10 @@ |
||
| 28 | 28 | public function insert(Widget $widget, View $view, $slotId, $position, $widgetReference) |
| 29 | 29 | { |
| 30 | 30 | $quantum = $this->em->getRepository('VictoireWidgetMapBundle:WidgetMap')->findOneBy([ |
| 31 | - 'view' => $view, |
|
| 32 | - 'slot' => $slotId, |
|
| 33 | - 'position' => $position, |
|
| 34 | - 'parent' => $widgetReference, |
|
| 31 | + 'view' => $view, |
|
| 32 | + 'slot' => $slotId, |
|
| 33 | + 'position' => $position, |
|
| 34 | + 'parent' => $widgetReference, |
|
| 35 | 35 | ]); |
| 36 | 36 | if ($quantum) { |
| 37 | 37 | $widget->setWidgetMap($quantum); |