@@ -949,6 +949,7 @@ discard block |
||
| 949 | 949 | |
| 950 | 950 | /** |
| 951 | 951 | * NEXT_MAJOR: remove this method. |
| 952 | + * @param string $subClass |
|
| 952 | 953 | */ |
| 953 | 954 | public function addSubClass($subClass): void |
| 954 | 955 | { |
@@ -1104,6 +1105,9 @@ discard block |
||
| 1104 | 1105 | return $this->routeGenerator->hasAdminRoute($this, $name); |
| 1105 | 1106 | } |
| 1106 | 1107 | |
| 1108 | + /** |
|
| 1109 | + * @param string $adminCode |
|
| 1110 | + */ |
|
| 1107 | 1111 | public function isCurrentRoute(string $name, ?string $adminCode = null): bool |
| 1108 | 1112 | { |
| 1109 | 1113 | if (!$this->hasRequest()) { |
@@ -2127,7 +2131,7 @@ discard block |
||
| 2127 | 2131 | * |
| 2128 | 2132 | * @param string $context |
| 2129 | 2133 | * |
| 2130 | - * @return array |
|
| 2134 | + * @return string[] |
|
| 2131 | 2135 | */ |
| 2132 | 2136 | public function getPermissionsShow($context) |
| 2133 | 2137 | { |
@@ -2532,6 +2536,7 @@ discard block |
||
| 2532 | 2536 | |
| 2533 | 2537 | /** |
| 2534 | 2538 | * {@inheritdoc} |
| 2539 | + * @param boolean $isShown |
|
| 2535 | 2540 | */ |
| 2536 | 2541 | final public function showMosaicButton($isShown): void |
| 2537 | 2542 | { |
@@ -2663,6 +2668,7 @@ discard block |
||
| 2663 | 2668 | * NEXT_MAJOR: remove this method. |
| 2664 | 2669 | * |
| 2665 | 2670 | * @deprecated Use configureTabMenu instead |
| 2671 | + * @param string $action |
|
| 2666 | 2672 | */ |
| 2667 | 2673 | protected function configureSideMenu(MenuItemInterface $menu, $action, AdminInterface $childAdmin = null) |
| 2668 | 2674 | { |
@@ -44,6 +44,7 @@ discard block |
||
| 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 |
||
| 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 |
||
| 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 |
@@ -647,6 +647,9 @@ |
||
| 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); |
@@ -44,6 +44,9 @@ |
||
| 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 |
@@ -24,7 +24,7 @@ |
||
| 24 | 24 | { |
| 25 | 25 | /** |
| 26 | 26 | * @param string $questionText |
| 27 | - * @param mixed $default |
|
| 27 | + * @param string $default |
|
| 28 | 28 | * @param callable $validator |
| 29 | 29 | * |
| 30 | 30 | * @return mixed |