Completed
Pull Request — 3.x (#868)
by
unknown
01:54
created
src/Datagrid/Pager.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -31,6 +31,9 @@
 block discarded – undo
31 31
      */
32 32
     protected $queryBuilder = null;
33 33
 
34
+    /**
35
+     * @return integer
36
+     */
34 37
     public function computeNbResult()
35 38
     {
36 39
         $countQuery = $this->getClonedQuery()->getQuery();
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,6 @@
 block discarded – undo
13 13
 
14 14
 use Doctrine\ORM\Query;
15 15
 use Doctrine\ORM\Tools\Pagination\CountOutputWalker;
16
-use Doctrine\ORM\Tools\Pagination\CountWalker;
17 16
 use Sonata\AdminBundle\Datagrid\Pager as BasePager;
18 17
 use Sonata\AdminBundle\Datagrid\ProxyQueryInterface;
19 18
 
Please login to merge, or discard this patch.