Completed
Push — master ( 148f85...e6ba0f )
by Shcherbak
30:23 queued 28:09
created
src/Element/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/Form.php 1 patch
Doc Comments   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
 
46 46
 
47 47
     /**
48
-     * @param $name
48
+     * @param string $name
49 49
      * @return $this
50 50
      */
51 51
     public function setName($name) {
@@ -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) {
@@ -252,7 +252,7 @@  discard block
 block discarded – undo
252 252
 
253 253
     /**
254 254
      * @param string $name
255
-     * @param null $text
255
+     * @param string $text
256 256
      * @return TextArea
257 257
      */
258 258
     public function textarea($name, $text = null) {
@@ -269,7 +269,7 @@  discard block
 block discarded – undo
269 269
      * $form->hidden('key', md5($this-user->id . HASH_A);
270 270
      * ```
271 271
      * @param string $name
272
-     * @param null $value
272
+     * @param string $value
273 273
      * @return \Fiv\Form\Element\Input
274 274
      */
275 275
     public function hidden($name, $value = null) {
@@ -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.