Completed
Pull Request — master (#18)
by Alexis
02:48
created
Controller/Admin/CRUD/ItemAdmin.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -96,7 +96,7 @@  discard block
 block discarded – undo
96 96
                 'label'         => 'Menu',
97 97
                 'required'      => true,
98 98
                 'property'      => 'name',
99
-                'query_builder' => function (EntityRepository $entityRepository) use ($idMenu) {
99
+                'query_builder' => function(EntityRepository $entityRepository) use ($idMenu) {
100 100
                     $query = $entityRepository->createQuerybuilder('m');
101 101
                     if ($idMenu === 0) {
102 102
                         return $query;
@@ -113,7 +113,7 @@  discard block
 block discarded – undo
113 113
                 'label'         => 'Item parent',
114 114
                 'required'      => true,
115 115
                 'property'      => 'name',
116
-                'query_builder' => function (EntityRepository $entityRepository) use ($idItem) {
116
+                'query_builder' => function(EntityRepository $entityRepository) use ($idItem) {
117 117
                     $query = $entityRepository->createQuerybuilder('i');
118 118
                     if ($idItem === 0) {
119 119
                         return $query;
@@ -169,7 +169,7 @@  discard block
 block discarded – undo
169 169
 
170 170
     public function checkUri($object = null)
171 171
     {
172
-        if($object === null) {
172
+        if ($object === null) {
173 173
             return;
174 174
         }
175 175
 
Please login to merge, or discard this patch.