@@ -92,9 +92,9 @@ |
||
92 | 92 | // took from addCascadeScript() |
93 | 93 | $must_escape = ['=', '>', '<', '>=', '<=', '!=']; |
94 | 94 | if (($index = array_search($operator, $must_escape)) !== false) { |
95 | - $operator_escaped = "op$index"; |
|
95 | + $operator_escaped = "op$index"; |
|
96 | 96 | } else { |
97 | - $operator_escaped = $operator; |
|
97 | + $operator_escaped = $operator; |
|
98 | 98 | } |
99 | 99 | |
100 | 100 | if (is_array($value)) { |
@@ -111,9 +111,9 @@ discard block |
||
111 | 111 | */ |
112 | 112 | protected function applyCascadeConditions() |
113 | 113 | { |
114 | - if( $this->form ) { |
|
114 | + if ($this->form) { |
|
115 | 115 | $this->form->fields() |
116 | - ->filter(function (Form\Field $field) { |
|
116 | + ->filter(function(Form\Field $field) { |
|
117 | 117 | return $field instanceof CascadeGroup |
118 | 118 | && $field->dependsOn($this) |
119 | 119 | && $this->hitsCondition($field); |
@@ -175,7 +175,7 @@ discard block |
||
175 | 175 | return; |
176 | 176 | } |
177 | 177 | |
178 | - $cascadeGroups = collect($this->conditions)->map(function ($condition) { |
|
178 | + $cascadeGroups = collect($this->conditions)->map(function($condition) { |
|
179 | 179 | return [ |
180 | 180 | 'class' => $this->getCascadeClass($condition['operator'], $condition['value']), |
181 | 181 | 'operator' => $condition['operator'], |