@@ -945,6 +945,7 @@ discard block |
||
| 945 | 945 | |
| 946 | 946 | /** |
| 947 | 947 | * NEXT_MAJOR: remove this method. |
| 948 | + * @param string $subClass |
|
| 948 | 949 | */ |
| 949 | 950 | public function addSubClass($subClass): void |
| 950 | 951 | { |
@@ -1073,6 +1074,9 @@ discard block |
||
| 1073 | 1074 | return $this->routeGenerator->hasAdminRoute($this, $name); |
| 1074 | 1075 | } |
| 1075 | 1076 | |
| 1077 | + /** |
|
| 1078 | + * @param string $adminCode |
|
| 1079 | + */ |
|
| 1076 | 1080 | public function isCurrentRoute(string $name, ?string $adminCode = null): bool |
| 1077 | 1081 | { |
| 1078 | 1082 | if (!$this->hasRequest()) { |
@@ -1320,6 +1324,9 @@ discard block |
||
| 1320 | 1324 | return $this->baseControllerName; |
| 1321 | 1325 | } |
| 1322 | 1326 | |
| 1327 | + /** |
|
| 1328 | + * @param string $label |
|
| 1329 | + */ |
|
| 1323 | 1330 | public function setLabel(?string $label): void |
| 1324 | 1331 | { |
| 1325 | 1332 | $this->label = $label; |
@@ -2030,6 +2037,9 @@ discard block |
||
| 2030 | 2037 | return $this->managerType; |
| 2031 | 2038 | } |
| 2032 | 2039 | |
| 2040 | + /** |
|
| 2041 | + * @param string $type |
|
| 2042 | + */ |
|
| 2033 | 2043 | public function setManagerType(?string $type): void |
| 2034 | 2044 | { |
| 2035 | 2045 | $this->managerType = $type; |
@@ -2440,6 +2450,7 @@ discard block |
||
| 2440 | 2450 | |
| 2441 | 2451 | /** |
| 2442 | 2452 | * {@inheritdoc} |
| 2453 | + * @param boolean $isShown |
|
| 2443 | 2454 | */ |
| 2444 | 2455 | final public function showMosaicButton($isShown): void |
| 2445 | 2456 | { |
@@ -2574,6 +2585,7 @@ discard block |
||
| 2574 | 2585 | * NEXT_MAJOR: remove this method. |
| 2575 | 2586 | * |
| 2576 | 2587 | * @deprecated Use configureTabMenu instead |
| 2588 | + * @param string $action |
|
| 2577 | 2589 | */ |
| 2578 | 2590 | protected function configureSideMenu(MenuItemInterface $menu, $action, AdminInterface $childAdmin = null): void |
| 2579 | 2591 | { |
@@ -131,6 +131,9 @@ discard block |
||
| 131 | 131 | */ |
| 132 | 132 | private static $fieldGetters = []; |
| 133 | 133 | |
| 134 | + /** |
|
| 135 | + * @param string $fieldName |
|
| 136 | + */ |
|
| 134 | 137 | public function setFieldName(?string $fieldName): void |
| 135 | 138 | { |
| 136 | 139 | $this->fieldName = $fieldName; |
@@ -141,6 +144,9 @@ discard block |
||
| 141 | 144 | return $this->fieldName; |
| 142 | 145 | } |
| 143 | 146 | |
| 147 | + /** |
|
| 148 | + * @param string $name |
|
| 149 | + */ |
|
| 144 | 150 | public function setName(?string $name): void |
| 145 | 151 | { |
| 146 | 152 | $this->name = $name; |
@@ -438,6 +444,9 @@ discard block |
||
| 438 | 444 | return $object->{$fieldName}; |
| 439 | 445 | } |
| 440 | 446 | |
| 447 | + /** |
|
| 448 | + * @param string $fieldName |
|
| 449 | + */ |
|
| 441 | 450 | private function cacheFieldGetter($object, ?string $fieldName, string $method, ?string $getter = null): void |
| 442 | 451 | { |
| 443 | 452 | $getterKey = $this->getFieldGetterKey($object, $fieldName); |