Completed
Push — master ( 13a3cd...b4de29 )
by Sophie
02:50
created
src/Abstract_/FormField.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@
 block discarded – undo
60 60
 
61 61
     /**
62 62
      *
63
-     * @param Check $check
63
+     * @param \hemio\form\Check $check
64 64
      */
65 65
     public function addValidityCheck(\hemio\form\Check $check)
66 66
     {
Please login to merge, or discard this patch.
src/Abstract_/FormFieldDefault.php 1 patch
Doc Comments   +5 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
 
41 41
     /**
42 42
      *
43
-     * @param mixed $value
43
+     * @param string $value
44 44
      */
45 45
     public function setDefaultValue($value)
46 46
     {
@@ -98,6 +98,7 @@  discard block
 block discarded – undo
98 98
 
99 99
     /**
100 100
      *
101
+     * @param string $special
101 102
      * @return TemplateFormField
102 103
      * @throws exception\NotLazyEnough
103 104
      * @throws exception\AppendageTypeError
@@ -156,6 +157,9 @@  discard block
 block discarded – undo
156 157
         $form->addLogicalChild($this);
157 158
     }
158 159
 
160
+    /**
161
+     * @param string $key
162
+     */
159 163
     public function setAccessKey($key)
160 164
     {
161 165
         $this->getControlElement()->setAttribute('accesskey', $key);
Please login to merge, or discard this patch.
src/CheckMinLength.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -28,6 +28,9 @@
 block discarded – undo
28 28
 
29 29
     protected $minLength;
30 30
 
31
+    /**
32
+     * @param integer $minLength
33
+     */
31 34
     public function __construct($minLength) {
32 35
         $this->minLength = $minLength;
33 36
         $this->check = $this;
Please login to merge, or discard this patch.
src/FieldSelect.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,6 +24,9 @@  discard block
 block discarded – undo
24 24
      */
25 25
     protected $filled = false;
26 26
 
27
+    /**
28
+     * @param string $name
29
+     */
27 30
     public function __construct($name, $title) {
28 31
         $this->init($name, $title, new html\Select);
29 32
     }
@@ -60,7 +63,7 @@  discard block
 block discarded – undo
60 63
 
61 64
     /**
62 65
      * 
63
-     * @param mixed $value
66
+     * @param string $value
64 67
      * @param mixed $content
65 68
      * @return html\Option
66 69
      */
Please login to merge, or discard this patch.
src/FieldTextarea.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -7,6 +7,9 @@
 block discarded – undo
7 7
 class FieldTextarea extends Abstract_\FormFieldDefault
8 8
 {
9 9
 
10
+    /**
11
+     * @param string $name
12
+     */
10 13
     public function __construct($name, $title)
11 14
     {
12 15
         $this->init($name, $title, new html\Textarea($this->inputType()));
Please login to merge, or discard this patch.
src/CheckPattern.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
 
31 31
     /**
32 32
      * 
33
-     * @param type $id 
33
+     * @param string $id 
34 34
      * @param type $pattern Regex pattern without anchors (example: [a-z]+)
35 35
      * @param type $message
36 36
      */
Please login to merge, or discard this patch.
src/FieldText.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -34,6 +34,9 @@
 block discarded – undo
34 34
         $this->getControlElement()->setAttribute('required', (boolean) $required);
35 35
     }
36 36
 
37
+    /**
38
+     * @param string $pattern
39
+     */
37 40
     public function setPattern($pattern, $message = null) {
38 41
         $this->addValidityCheck(new CheckPattern('pattern', $pattern, $message));
39 42
         $this->getControlElement()->setAttribute('pattern', $pattern);
Please login to merge, or discard this patch.