Completed
Pull Request — master (#90)
by Arnaud
02:00
created
src/LAG/AdminBundle/Filter/Factory/FilterFormBuilder.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
     public function build(ActionConfiguration $configuration)
39 39
     {
40 40
         if (true !== $this->isFilterFormRequired($configuration)) {
41
-           return null;
41
+            return null;
42 42
         }
43 43
         // retrieve the filters from the Action configuration
44 44
         $filters = $configuration->getParameter('filters');
Please login to merge, or discard this patch.
src/LAG/AdminBundle/DataProvider/Loader/EntityLoader.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -86,8 +86,7 @@
 block discarded – undo
86 86
         if (false !== $this->isPaginationRequired) {
87 87
             // Load entities from the DataProvider using a pagination system
88 88
             $entities = $this->loadPaginate($criteria, $orderBy, $limit, $offset);
89
-        }
90
-        else {
89
+        } else {
91 90
             // If no pagination is required (edit action for example)
92 91
             $entities = $this->loadWithoutPagination($criteria, $orderBy);
93 92
         }
Please login to merge, or discard this patch.