Completed
Push — 3.x ( 140855...1a26c7 )
by Marko
10:54
created
src/Twig/GlobalVariables.php 1 patch
Doc Comments   +5 added lines, -3 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@  discard block
 block discarded – undo
67 67
     /**
68 68
      * @param string $code
69 69
      * @param string $action
70
-     * @param array  $parameters
70
+     * @param string[]  $parameters
71 71
      * @param int    $absolute
72 72
      *
73 73
      * @return string
@@ -82,8 +82,8 @@  discard block
 block discarded – undo
82 82
     /**
83 83
      * @param string $code
84 84
      * @param string $action
85
-     * @param mixed  $object
86
-     * @param array  $parameters
85
+     * @param string  $object
86
+     * @param string[]  $parameters
87 87
      * @param int    $absolute
88 88
      *
89 89
      * @return string
@@ -96,6 +96,8 @@  discard block
 block discarded – undo
96 96
     }
97 97
 
98 98
     /**
99
+     * @param string $code
100
+     * @param string $action
99 101
      * @return array
100 102
      */
101 103
     private function getCodeAction($code, $action)
Please login to merge, or discard this patch.
src/Admin/Pool.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -191,7 +191,7 @@  discard block
 block discarded – undo
191 191
      *
192 192
      * @param string $class
193 193
      *
194
-     * @return \Sonata\AdminBundle\Admin\AdminInterface|null
194
+     * @return AdminInterface
195 195
      */
196 196
     public function getAdminByClass($class)
197 197
     {
@@ -303,7 +303,7 @@  discard block
 block discarded – undo
303 303
     }
304 304
 
305 305
     /**
306
-     * @return array
306
+     * @return string[]
307 307
      */
308 308
     public function getAdminServiceIds()
309 309
     {
Please login to merge, or discard this patch.
tests/Action/RetrieveAutocompleteItemsActionTest.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -257,6 +257,9 @@  discard block
 block discarded – undo
257 257
         return $datagrid;
258 258
     }
259 259
 
260
+    /**
261
+     * @param string $field
262
+     */
260 263
     private function configureFormConfig($field, $disabled = false)
261 264
     {
262 265
         $form = $this->prophesize(Form::class);
@@ -276,6 +279,9 @@  discard block
 block discarded – undo
276 279
         $formConfig->getAttribute('target_admin_access_action')->willReturn('list');
277 280
     }
278 281
 
282
+    /**
283
+     * @param string $field
284
+     */
279 285
     private function configureFormConfigComplexProperty($field)
280 286
     {
281 287
         $form = $this->prophesize(Form::class);
@@ -295,6 +301,9 @@  discard block
 block discarded – undo
295 301
         $formConfig->getAttribute('target_admin_access_action')->willReturn('list');
296 302
     }
297 303
 
304
+    /**
305
+     * @param string $field
306
+     */
298 307
     private function configureFormConfigComplexPropertyArray($field)
299 308
     {
300 309
         $form = $this->prophesize(Form::class);
Please login to merge, or discard this patch.
tests/Controller/HelperControllerTest.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -257,6 +257,9 @@  discard block
 block discarded – undo
257 257
         return $datagrid;
258 258
     }
259 259
 
260
+    /**
261
+     * @param string $field
262
+     */
260 263
     private function configureFormConfig($field, $disabled = false)
261 264
     {
262 265
         $form = $this->prophesize(Form::class);
@@ -276,6 +279,9 @@  discard block
 block discarded – undo
276 279
         $formConfig->getAttribute('target_admin_access_action')->willReturn('list');
277 280
     }
278 281
 
282
+    /**
283
+     * @param string $field
284
+     */
279 285
     private function configureFormConfigComplexProperty($field)
280 286
     {
281 287
         $form = $this->prophesize(Form::class);
@@ -295,6 +301,9 @@  discard block
 block discarded – undo
295 301
         $formConfig->getAttribute('target_admin_access_action')->willReturn('list');
296 302
     }
297 303
 
304
+    /**
305
+     * @param string $field
306
+     */
298 307
     private function configureFormConfigComplexPropertyArray($field)
299 308
     {
300 309
         $form = $this->prophesize(Form::class);
Please login to merge, or discard this patch.