@@ -42,7 +42,6 @@ discard block |
||
| 42 | 42 | } |
| 43 | 43 | |
| 44 | 44 | /** |
| 45 | - * @param int $multiple |
|
| 46 | 45 | * |
| 47 | 46 | * @return string |
| 48 | 47 | */ |
@@ -80,6 +79,9 @@ discard block |
||
| 80 | 79 | Admin::script($script); |
| 81 | 80 | } |
| 82 | 81 | |
| 82 | + /** |
|
| 83 | + * @param boolean $isExpand |
|
| 84 | + */ |
|
| 83 | 85 | protected function addScript($isExpand) |
| 84 | 86 | { |
| 85 | 87 | $script = <<<SCRIPT |
@@ -13,7 +13,6 @@ |
||
| 13 | 13 | protected $renderable; |
| 14 | 14 | |
| 15 | 15 | /** |
| 16 | - * @param int $multiple |
|
| 17 | 16 | * |
| 18 | 17 | * @return string |
| 19 | 18 | */ |
@@ -103,7 +103,7 @@ discard block |
||
| 103 | 103 | protected function applyCascadeConditions() |
| 104 | 104 | { |
| 105 | 105 | $this->form->fields() |
| 106 | - ->filter(function (Form\Field $field) { |
|
| 106 | + ->filter(function(Form\Field $field) { |
|
| 107 | 107 | return $field instanceof CascadeGroup |
| 108 | 108 | && $field->dependsOn($this) |
| 109 | 109 | && $this->hitsCondition($field); |
@@ -160,7 +160,7 @@ discard block |
||
| 160 | 160 | return; |
| 161 | 161 | } |
| 162 | 162 | |
| 163 | - $cascadeGroups = collect($this->conditions)->map(function ($condition) { |
|
| 163 | + $cascadeGroups = collect($this->conditions)->map(function($condition) { |
|
| 164 | 164 | return [ |
| 165 | 165 | 'class' => $this->getCascadeClass($condition['value']), |
| 166 | 166 | 'operator' => $condition['operator'], |