Completed
Push — master ( 4e8ecf...87fe1e )
by A
03:03
created
src/AbstractForm.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
 
55 55
     /**
56 56
      * Reads config from yaml file
57
-     * @param null $configPath
57
+     * @param string $configPath
58 58
      * @throws \Exception
59 59
      */
60 60
     public function loadFromConfigYaml($configPath = null) {
@@ -206,7 +206,7 @@  discard block
 block discarded – undo
206 206
     /**
207 207
      * Calls custom rule which can be an callback or private method
208 208
      * @param $rule
209
-     * @param $request
209
+     * @param Request $request
210 210
      * @return mixed
211 211
      */
212 212
     protected function callCustomRules($rule, $request) {
@@ -274,7 +274,7 @@  discard block
 block discarded – undo
274 274
      * Calls requested element from fields array or creates it
275 275
      * @param string $method
276 276
      * @param mixed $args
277
-     * @return mixed|Fields\FieldsInterface
277
+     * @return Fields\FieldsInterface|null
278 278
      * @throws \Exception
279 279
      */
280 280
     public function __call($method, $args) {
Please login to merge, or discard this patch.
src/Fields/onOffSwitch.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace Code4\Forms\Fields;
4 4
 
5 5
 use Code4\Forms\Traits\checkedTrait;
6
-use Code4\Forms\Traits\groupFieldTrait;
7 6
 
8 7
 class onOffSwitch extends AbstractField {
9 8
 
Please login to merge, or discard this patch.