Completed
Pull Request — 3.x (#6245)
by Grégoire
02:54
created
src/Admin/BaseFieldDescription.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -540,6 +540,9 @@
 block discarded – undo
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);
Please login to merge, or discard this patch.
src/Admin/AbstractAdmin.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1111,6 +1111,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     {
Please login to merge, or discard this patch.