Completed
Pull Request — 3.x (#5810)
by Alexander
02:59
created
src/Security/Handler/SecurityHandlerInterface.php 1 patch
Doc Comments   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
 interface SecurityHandlerInterface
22 22
 {
23 23
     /**
24
-     * @param string|array $attributes
24
+     * @param string $attributes
25 25
      * @param mixed|null   $object
26 26
      *
27 27
      * @return bool
@@ -44,6 +44,7 @@  discard block
 block discarded – undo
44 44
      * Create object security, fe. make the current user owner of the object.
45 45
      *
46 46
      * @param object $object
47
+     * @return void
47 48
      */
48 49
     public function createObjectSecurity(AdminInterface $admin, $object);
49 50
 
@@ -51,6 +52,7 @@  discard block
 block discarded – undo
51 52
      * Remove object security.
52 53
      *
53 54
      * @param object $object
55
+     * @return void
54 56
      */
55 57
     public function deleteObjectSecurity(AdminInterface $admin, $object);
56 58
 }
Please login to merge, or discard this patch.
src/Block/AdminSearchBlockService.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
     /**
45 45
      * NEXT_MAJOR: Remove `$templating` argument.
46 46
      *
47
-     * @param Environment|string $twigOrName
47
+     * @param string $twigOrName
48 48
      */
49 49
     public function __construct($twigOrName, ?EngineInterface $templating, Pool $pool, SearchHandler $searchHandler)
50 50
     {
Please login to merge, or discard this patch.
src/Admin/AbstractAdmin.php 1 patch
Doc Comments   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1040,6 +1040,7 @@  discard block
 block discarded – undo
1040 1040
 
1041 1041
     /**
1042 1042
      * NEXT_MAJOR: remove this method.
1043
+     * @param string $subClass
1043 1044
      */
1044 1045
     public function addSubClass($subClass)
1045 1046
     {
@@ -2349,7 +2350,7 @@  discard block
 block discarded – undo
2349 2350
      *
2350 2351
      * @param string $context
2351 2352
      *
2352
-     * @return array
2353
+     * @return string[]
2353 2354
      */
2354 2355
     public function getPermissionsShow($context)
2355 2356
     {
@@ -2912,6 +2913,7 @@  discard block
 block discarded – undo
2912 2913
      * NEXT_MAJOR: remove this method.
2913 2914
      *
2914 2915
      * @deprecated Use configureTabMenu instead
2916
+     * @param string $action
2915 2917
      */
2916 2918
     protected function configureSideMenu(MenuItemInterface $menu, $action, AdminInterface $childAdmin = null)
2917 2919
     {
Please login to merge, or discard this patch.
src/Twig/GlobalVariables.php 1 patch
Doc Comments   +4 added lines, -3 removed lines patch added patch discarded remove patch
@@ -44,6 +44,7 @@  discard block
 block discarded – undo
44 44
 
45 45
     /**
46 46
      * @param ContainerInterface|Pool $adminPool
47
+     * @param string $mosaicBackground
47 48
      */
48 49
     public function __construct($adminPool, ?string $mosaicBackground = null)
49 50
     {
@@ -80,7 +81,7 @@  discard block
 block discarded – undo
80 81
     /**
81 82
      * @param string $code
82 83
      * @param string $action
83
-     * @param array  $parameters
84
+     * @param string[]  $parameters
84 85
      * @param int    $absolute
85 86
      *
86 87
      * @return string
@@ -95,8 +96,8 @@  discard block
 block discarded – undo
95 96
     /**
96 97
      * @param string $code
97 98
      * @param string $action
98
-     * @param object $object
99
-     * @param array  $parameters
99
+     * @param string $object
100
+     * @param string[]  $parameters
100 101
      * @param int    $absolute
101 102
      *
102 103
      * @return string
Please login to merge, or discard this patch.
tests/Datagrid/PagerTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -647,6 +647,9 @@
 block discarded – undo
647 647
         $this->assertNull($this->pager->getQuery());
648 648
     }
649 649
 
650
+    /**
651
+     * @param Pager $obj
652
+     */
650 653
     protected function callMethod($obj, string $name, array $args = [])
651 654
     {
652 655
         $class = new \ReflectionClass($obj);
Please login to merge, or discard this patch.
tests/Menu/Integration/BaseMenuTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -44,6 +44,9 @@
 block discarded – undo
44 44
         $this->environment = new Environment($loader, ['strict_variables' => true]);
45 45
     }
46 46
 
47
+    /**
48
+     * @return string
49
+     */
47 50
     abstract protected function getTemplate();
48 51
 
49 52
     protected function getTranslator(): TranslatorInterface
Please login to merge, or discard this patch.