Edwin Xu преди 3 години
родител
ревизия
2661c77b3e
променени са 1 файла, в които са добавени 1 реда и са изтрити 3 реда
  1. 1 3
      src/Form/Field/HasDepends.php

+ 1 - 3
src/Form/Field/HasDepends.php

@@ -14,16 +14,14 @@ trait HasDepends
     public function depends($fields = [], bool $clear = true)
     {
         $fields = array_map(function ($field) {
-
             return $this->formatName($field);
-
         }, (array) $fields);
 
         return $this->addVariables([
             'depends' => [
                 'fields' => json_encode($fields, \JSON_UNESCAPED_UNICODE),
                 'clear' => $clear,
-            ]
+            ],
         ]);
     }
 }