Completed
Pull Request — master (#90)
by Arnaud
02:26
created
src/LAG/AdminBundle/Field/Field/ActionCollection.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
      *
29 29
      * @param mixed $value Value to render
30 30
      *
31
-     * @return mixed
31
+     * @return string
32 32
      */
33 33
     public function render($value)
34 34
     {
Please login to merge, or discard this patch.
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/Admin/Factory/AdminFactory.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -247,7 +247,7 @@
 block discarded – undo
247 247
     /**
248 248
      * Inject an Admin into an AdminAware controller. Add this Admin to Twig global parameters.
249 249
      *
250
-     * @param mixed $controller
250
+     * @param callable $controller
251 251
      * @param Request $request
252 252
      */
253 253
     public function injectAdmin($controller, Request $request)
Please login to merge, or discard this patch.
src/LAG/AdminBundle/Event/Subscriber/ExtraConfigurationSubscriber.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -193,7 +193,7 @@
 block discarded – undo
193 193
      * If no field was provided, try to guess field
194 194
      *
195 195
      * @param array $configuration
196
-     * @param $actionName
196
+     * @param string $actionName
197 197
      * @param $entityClass
198 198
      */
199 199
     protected function guessFieldConfiguration(array &$configuration, $actionName, $entityClass)
Please login to merge, or discard this patch.
src/LAG/AdminBundle/Action/Configuration/ActionConfiguration.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
      * ActionConfiguration constructor.
43 43
      *
44 44
      * @param string             $actionName
45
-     * @param                    $adminName
45
+     * @param                    string $adminName
46 46
      * @param AdminConfiguration $adminConfiguration
47 47
      */
48 48
     public function __construct($actionName, $adminName, AdminConfiguration $adminConfiguration)
Please login to merge, or discard this patch.