Completed
Push — master ( 7e8556...43b306 )
by Vincent
02:56
created
src/Admin/FieldDescriptionInterface.php 1 patch
Doc Comments   +14 added lines patch added patch discarded remove patch
@@ -26,6 +26,7 @@  discard block
 block discarded – undo
26 26
 {
27 27
     /**
28 28
      * set the field name.
29
+     * @return void
29 30
      */
30 31
     public function setFieldName(?string $fieldName): void;
31 32
 
@@ -38,6 +39,7 @@  discard block
 block discarded – undo
38 39
 
39 40
     /**
40 41
      * Set the name.
42
+     * @return void
41 43
      */
42 44
     public function setName(?string $name): void;
43 45
 
@@ -61,6 +63,7 @@  discard block
 block discarded – undo
61 63
      * Define an option, an option is has a name and a value.
62 64
      *
63 65
      * @param mixed $value
66
+     * @return void
64 67
      */
65 68
     public function setOption(string $name, $value): void;
66 69
 
@@ -72,6 +75,7 @@  discard block
 block discarded – undo
72 75
      * Then the value are copied across to the related property value.
73 76
      *
74 77
      * @param array<string, mixed> $options
78
+     * @return void
75 79
      */
76 80
     public function setOptions(array $options): void;
77 81
 
@@ -84,6 +88,8 @@  discard block
 block discarded – undo
84 88
 
85 89
     /**
86 90
      * Sets the template used to render the field.
91
+     * @param string $template
92
+     * @return void
87 93
      */
88 94
     public function setTemplate(?string $template): void;
89 95
 
@@ -97,16 +103,19 @@  discard block
 block discarded – undo
97 103
     /**
98 104
      * Sets the field type. The type is a mandatory field as it's used to select the correct template
99 105
      * or the logic associated to the current FieldDescription object.
106
+     * @return void
100 107
      */
101 108
     public function setType(?string $type): void;
102 109
 
103 110
     /**
104 111
      * Returns the type.
112
+     * @return string
105 113
      */
106 114
     public function getType(): ?string;
107 115
 
108 116
     /**
109 117
      * set the parent Admin (only used in nested admin).
118
+     * @return void
110 119
      */
111 120
     public function setParent(AdminInterface $parent);
112 121
 
@@ -169,6 +178,7 @@  discard block
 block discarded – undo
169 178
      * set the association admin instance (only used if the field is linked to an Admin).
170 179
      *
171 180
      * @param AdminInterface $associationAdmin the associated admin
181
+     * @return void
172 182
      */
173 183
     public function setAssociationAdmin(AdminInterface $associationAdmin);
174 184
 
@@ -196,6 +206,7 @@  discard block
 block discarded – undo
196 206
 
197 207
     /**
198 208
      * set the admin class linked to this FieldDescription.
209
+     * @return void
199 210
      */
200 211
     public function setAdmin(AdminInterface $admin);
201 212
 
@@ -211,11 +222,13 @@  discard block
 block discarded – undo
211 222
      * merge option values related to the provided option name.
212 223
      *
213 224
      * @throws \RuntimeException
225
+     * @return void
214 226
      */
215 227
     public function mergeOption(string $name, array $options = []): void;
216 228
 
217 229
     /**
218 230
      * merge options values.
231
+     * @return void
219 232
      */
220 233
     public function mergeOptions(array $options = []): void;
221 234
 
@@ -223,6 +236,7 @@  discard block
 block discarded – undo
223 236
      * set the original mapping type (only used if the field is linked to an entity).
224 237
      *
225 238
      * @param string|int $mappingType
239
+     * @return void
226 240
      */
227 241
     public function setMappingType($mappingType);
228 242
 
Please login to merge, or discard this patch.