Completed
Pull Request — master (#90)
by Arnaud
17:45
created
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.