Completed
Pull Request — master (#90)
by Arnaud
17:45
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
@@ -82,8 +82,7 @@
 block discarded – undo
82 82
         if (false === $this->isPaginationRequired) {
83 83
             // load entities from the DataProvider using a pagination system
84 84
             $entities = $this->loadPaginate($criteria, $orderBy, $limit, $offset);
85
-        }
86
-        else {
85
+        } else {
87 86
             // if no pagination is required (edit action for example)
88 87
             $entities = $this->loadWithoutPagination($criteria, $orderBy);
89 88
         }
Please login to merge, or discard this patch.