Completed
Push — master ( 7df4a2...98a721 )
by Shcherbak
02:41
created
src/Fiv/Form/CheckboxList.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
   class CheckboxList extends \Fiv\Form\Element\Multiple {
18 18
 
19 19
     /**
20
-     * @param array|string $data
20
+     * @param string[] $data
21 21
      * @return $this
22 22
      */
23 23
     public function setValue($data) {
Please login to merge, or discard this patch.
src/Fiv/Form/Form.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -224,7 +224,7 @@  discard block
 block discarded – undo
224 224
 
225 225
     /**
226 226
      * @param string $name
227
-     * @param null $text
227
+     * @param string $text
228 228
      * @return Select
229 229
      */
230 230
     public function select($name, $text = null) {
@@ -237,7 +237,7 @@  discard block
 block discarded – undo
237 237
 
238 238
 
239 239
     /**
240
-     * @param        $name
240
+     * @param        string $name
241 241
      * @param string $text
242 242
      * @return RadioList
243 243
      */
@@ -287,7 +287,7 @@  discard block
 block discarded – undo
287 287
      * $form->submit('register', 'зареєструватись');
288 288
      * ```
289 289
      * @param string $name
290
-     * @param null $value
290
+     * @param string $value
291 291
      * @return Submit
292 292
      */
293 293
     public function submit($name, $value = null) {
@@ -318,7 +318,7 @@  discard block
 block discarded – undo
318 318
 
319 319
     /**
320 320
      * @param string $name
321
-     * @param null $text
321
+     * @param string $text
322 322
      * @return CheckboxList
323 323
      */
324 324
     public function checkboxList($name, $text = null) {
Please login to merge, or discard this patch.