Completed
Pull Request — master (#90)
by Arnaud
03:09
created
src/LAG/AdminBundle/DataProvider/Loader/EntityLoader.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -80,8 +80,7 @@
 block discarded – undo
80 80
             $offset = null;
81 81
             // load entities from the DataProvider using a pagination system
82 82
             $entities = $this->loadPaginate($criteria, $orderBy, $limit, $offset);
83
-        }
84
-        else {
83
+        } else {
85 84
             // if no pagination is required (edit action for example)
86 85
             $entities = $this->loadWithoutPagination($criteria, $orderBy);
87 86
         }
Please login to merge, or discard this patch.