Completed
Pull Request — master (#3034)
by
unknown
02:22
created
src/Grid/Filter/Presenter/Select.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -116,7 +116,7 @@  discard block
 block discarded – undo
116 116
             throw new \InvalidArgumentException("[$model] must be a valid model class");
117 117
         }
118 118
 
119
-        $this->options = function ($value) use ($model, $idField, $textField) {
119
+        $this->options = function($value) use ($model, $idField, $textField) {
120 120
             if (empty($value)) {
121 121
                 return [];
122 122
             }
@@ -166,7 +166,7 @@  discard block
 block discarded – undo
166 166
 
167 167
         $ajaxOptions = json_encode(array_merge($ajaxOptions, $options), JSON_UNESCAPED_UNICODE);
168 168
 
169
-        $values = (array)$this->filter->getValue();
169
+        $values = (array) $this->filter->getValue();
170 170
         $values = array_filter($values);
171 171
         $values = json_encode($values);
172 172
 
Please login to merge, or discard this patch.