Completed
Push — master ( 7abe43...7deb80 )
by Askupa
01:24
created
ComponentList.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -159,7 +159,7 @@
 block discarded – undo
159 159
     /**
160 160
      * Filter the list of components
161 161
      *
162
-     * @param function $callable
162
+     * @param \Closure $callable
163 163
      * @return array
164 164
      */
165 165
     private function filter( $callable )
Please login to merge, or discard this patch.
Form.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -129,7 +129,7 @@  discard block
 block discarded – undo
129 129
     /**
130 130
      * Get all components.
131 131
      * 
132
-     * @return array
132
+     * @return AbstractComponent[]
133 133
      */
134 134
     public function get_component_list()
135 135
     {
@@ -163,7 +163,7 @@  discard block
 block discarded – undo
163 163
     /**
164 164
      * Check if the given component is disabled.
165 165
      * 
166
-     * @param UI\AbstractComponent $component
166
+     * @param ValueComponentInterface $component
167 167
      * @return boolean
168 168
      */
169 169
     private function is_disabled( $component )
@@ -179,7 +179,7 @@  discard block
 block discarded – undo
179 179
     /**
180 180
      * Filter the component's value using its filter function (if applicable)
181 181
      * 
182
-     * @param UI\AbstractComponent $component
182
+     * @param ValueComponentInterface $component
183 183
      */
184 184
     private function filter( $component )
185 185
     {
@@ -201,7 +201,7 @@  discard block
 block discarded – undo
201 201
      * If the value is invalid, the old value is used, and an error message is
202 202
      * saved into the errors array as component_name => error_message.
203 203
      * 
204
-     * @param UI\AbstractComponent $component The component to validate.
204
+     * @param ValueComponentInterface $component The component to validate.
205 205
      */
206 206
     private function validate( $component )
207 207
     {
Please login to merge, or discard this patch.