Completed
Pull Request — master (#90)
by Arnaud
02:00
created
src/LAG/AdminBundle/Twig/AdminExtension.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
     }
54 54
 
55 55
     /**
56
-     * @return array
56
+     * @return Twig_SimpleFunction[]
57 57
      */
58 58
     public function getFunctions()
59 59
     {
@@ -67,7 +67,7 @@  discard block
 block discarded – undo
67 67
     }
68 68
 
69 69
     /**
70
-     * @return array
70
+     * @return Twig_SimpleFilter[]
71 71
      */
72 72
     public function getFilters()
73 73
     {
Please login to merge, or discard this patch.
src/LAG/AdminBundle/View/View.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -58,8 +58,8 @@
 block discarded – undo
58 58
     /**
59 59
      * View constructor.
60 60
      *
61
-     * @param                     $actionName
62
-     * @param                     $adminName
61
+     * @param                     string $actionName
62
+     * @param                     string $adminName
63 63
      * @param ActionConfiguration $configuration
64 64
      * @param AdminConfiguration  $adminConfiguration
65 65
      * @param array               $fields
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.