Completed
Branch master (e4121e)
by Filipe
15:09
created
src/Element/FieldSet.php 2 patches
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
     /**
48 48
      * Checks if all elements are valid
49 49
      *
50
-     * @return mixed
50
+     * @return boolean
51 51
      */
52 52
     public function isValid()
53 53
     {
@@ -135,7 +135,7 @@  discard block
 block discarded – undo
135 135
      * This value here is just a string and it can be the content that
136 136
      * goes inside <label> tags for example.
137 137
      *
138
-     * @return mixed
138
+     * @return string
139 139
      */
140 140
     public function getValue()
141 141
     {
@@ -148,7 +148,7 @@  discard block
 block discarded – undo
148 148
      * This name can be null however a form or field set will use it
149 149
      * in the FormInterface::get() method to retrieve it.
150 150
      *
151
-     * @return mixed
151
+     * @return string
152 152
      */
153 153
     public function getName()
154 154
     {
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,8 +11,8 @@
 block discarded – undo
11 11
 
12 12
 use Slick\Common\Utils\Collection\AbstractCollection;
13 13
 use Slick\Form\ElementInterface;
14
-use Slick\Form\Input\ValidationAwareInterface;
15 14
 use Slick\Form\InputInterface;
15
+use Slick\Form\Input\ValidationAwareInterface;
16 16
 use Slick\Form\Renderer\FieldSet as FieldSetRenderer;
17 17
 use Slick\Form\Renderer\RendererInterface;
18 18
 
Please login to merge, or discard this patch.
src/Input/AbstractInput.php 2 patches
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
     /**
64 64
      * Get input name
65 65
      *
66
-     * @return mixed
66
+     * @return null|string
67 67
      */
68 68
     public function getName()
69 69
     {
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
      *
76 76
      * @param string $name
77 77
      *
78
-     * @return self|$this|InputInterface|AbstractInput
78
+     * @return AbstractInput
79 79
      */
80 80
     public function setName($name)
81 81
     {
@@ -98,7 +98,7 @@  discard block
 block discarded – undo
98 98
      *
99 99
      * @param string|ElementInterface $label
100 100
      *
101
-     * @return self|$this|InputInterface
101
+     * @return AbstractInput
102 102
      *
103 103
      * @throws InvalidArgumentException If the provided label is not a string
104 104
      *      or is not an object of a class implementing the ElementInterface.
@@ -224,7 +224,7 @@  discard block
 block discarded – undo
224 224
      *
225 225
      * @param boolean $required
226 226
      *
227
-     * @return $this|self|InputInterface
227
+     * @return AbstractInput
228 228
      */
229 229
     public function setRequired($required)
230 230
     {
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,9 +9,9 @@
 block discarded – undo
9 9
 
10 10
 namespace Slick\Form\Input;
11 11
 
12
+use Slick\Form\ElementInterface;
12 13
 use Slick\Form\Element\AbstractElement;
13 14
 use Slick\Form\Element\Label;
14
-use Slick\Form\ElementInterface;
15 15
 use Slick\Form\Exception\InvalidArgumentException;
16 16
 use Slick\Form\InputInterface;
17 17
 use Slick\Form\Renderer\Input;
Please login to merge, or discard this patch.
src/Input/FilterAwareMethods.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
      *
72 72
      * @param string|FilterInterface $filter
73 73
      *
74
-     * @return self|$this|FilterAwareInterface
74
+     * @return FilterAwareMethods
75 75
      *
76 76
      * @throws InvalidArgumentException If the provided filter is an unknown
77 77
      *      filter alias or not a valid class name or the object passed
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
97 97
      *
98 98
      * @param FilterChainInterface $chain
99 99
      *
100
-     * @return self|$this|FilterAwareInterface
100
+     * @return FilterAwareMethods
101 101
      */
102 102
     public function setFilterChain(FilterChainInterface $chain)
103 103
     {
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,12 +9,12 @@
 block discarded – undo
9 9
 
10 10
 namespace Slick\Form\Input;
11 11
 
12
+use Slick\Filter\Exception as FilterException;
12 13
 use Slick\Filter\FilterChain;
13 14
 use Slick\Filter\FilterChainInterface;
14 15
 use Slick\Filter\FilterInterface;
15 16
 use Slick\Filter\StaticFilter;
16 17
 use Slick\Form\Exception\InvalidArgumentException;
17
-use Slick\Filter\Exception as FilterException;
18 18
 
19 19
 /**
20 20
  * Implementation for FilterAwareInterface
Please login to merge, or discard this patch.
src/Input/ValidationAwareMethods.php 2 patches
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
      * Validates current value so that isValid can retrieve the result of
66 66
      * the validation(s)
67 67
      *
68
-     * @return self|$this|ValidationAwareInterface
68
+     * @return ValidationAwareMethods
69 69
      */
70 70
     public function validate()
71 71
     {
@@ -93,7 +93,7 @@  discard block
 block discarded – undo
93 93
      *
94 94
      * @param ValidationChainInterface $chain
95 95
      *
96
-     * @return self|$this|ValidationAwareInterface
96
+     * @return ValidationAwareMethods
97 97
      */
98 98
     public function setValidationChain(ValidationChainInterface $chain)
99 99
     {
@@ -112,7 +112,7 @@  discard block
 block discarded – undo
112 112
      * @param string|array $message Error message and possible contexts
113 113
      *      variables.
114 114
      *
115
-     * @return self|$this|ValidationAwareInterface|ElementInterface
115
+     * @return ValidationAwareMethods
116 116
      *
117 117
      * @throws InvalidArgumentException If the provided validator is an unknown
118 118
      *      validator alias or not a valid class name or the object passed
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,12 +12,12 @@
 block discarded – undo
12 12
 use Slick\Form\ElementInterface;
13 13
 use Slick\Form\Exception\InvalidArgumentException;
14 14
 use Slick\Form\InputInterface;
15
+use Slick\Validator\Exception as ValidatorException;
15 16
 use Slick\Validator\NotEmpty;
16 17
 use Slick\Validator\StaticValidator;
17 18
 use Slick\Validator\ValidationChain;
18 19
 use Slick\Validator\ValidationChainInterface;
19 20
 use Slick\Validator\ValidatorInterface;
20
-use Slick\Validator\Exception as ValidatorException;
21 21
 
22 22
 /**
23 23
  * Implementation for ValidationAwareInterface
Please login to merge, or discard this patch.
src/Parser/YamlParser.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -129,7 +129,7 @@
 block discarded – undo
129 129
     /**
130 130
      * Sets definition data for form creation
131 131
      *
132
-     * @param mixed $definitions
132
+     * @param string $definitions
133 133
      *
134 134
      * @return self|$this|ParserInterface
135 135
      */
Please login to merge, or discard this patch.