Completed
Pull Request — master (#1073)
by Vincent
10:03
created
src/Builder/ListBuilder.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -63,6 +63,9 @@  discard block
 block discarded – undo
63 63
         $this->fixFieldDescription($admin, $fieldDescription);
64 64
     }
65 65
 
66
+    /**
67
+     * @param string|null $type
68
+     */
66 69
     public function addField(FieldDescriptionCollection $list, ?string $type, FieldDescriptionInterface $fieldDescription, AdminInterface $admin): void
67 70
     {
68 71
         $this->buildField($type, $fieldDescription, $admin);
@@ -187,6 +190,9 @@  discard block
 block discarded – undo
187 190
         return $fieldDescription;
188 191
     }
189 192
 
193
+    /**
194
+     * @return string
195
+     */
190 196
     private function getTemplate(string $type): ?string
191 197
     {
192 198
         if (!isset($this->templates[$type])) {
Please login to merge, or discard this patch.
src/Builder/ShowBuilder.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -47,6 +47,9 @@  discard block
 block discarded – undo
47 47
         return new FieldDescriptionCollection();
48 48
     }
49 49
 
50
+    /**
51
+     * @param null|string $type
52
+     */
50 53
     public function addField(FieldDescriptionCollection $list, ?string $type, FieldDescriptionInterface $fieldDescription, AdminInterface $admin): void
51 54
     {
52 55
         if (null === $type) {
@@ -103,6 +106,9 @@  discard block
 block discarded – undo
103 106
         }
104 107
     }
105 108
 
109
+    /**
110
+     * @return string
111
+     */
106 112
     private function getTemplate(string $type): ?string
107 113
     {
108 114
         if (!isset($this->templates[$type])) {
Please login to merge, or discard this patch.