@@ -540,6 +540,9 @@ |
||
540 | 540 | return $object->{$fieldName}; |
541 | 541 | } |
542 | 542 | |
543 | + /** |
|
544 | + * @param string $fieldName |
|
545 | + */ |
|
543 | 546 | private function cacheFieldGetter(object $object, ?string $fieldName, string $method, ?string $getter = null): void |
544 | 547 | { |
545 | 548 | $getterKey = $this->getFieldGetterKey($object, $fieldName); |
@@ -1111,6 +1111,7 @@ discard block |
||
1111 | 1111 | |
1112 | 1112 | /** |
1113 | 1113 | * NEXT_MAJOR: remove this method. |
1114 | + * @param string $subClass |
|
1114 | 1115 | */ |
1115 | 1116 | public function addSubClass($subClass) |
1116 | 1117 | { |
@@ -2677,7 +2678,7 @@ discard block |
||
2677 | 2678 | * |
2678 | 2679 | * @param string $context |
2679 | 2680 | * |
2680 | - * @return array |
|
2681 | + * @return string[] |
|
2681 | 2682 | */ |
2682 | 2683 | public function getPermissionsShow($context) |
2683 | 2684 | { |