@@ -173,7 +173,7 @@ |
||
173 | 173 | */ |
174 | 174 | public static function withSetting($key, $value = null) |
175 | 175 | { |
176 | - return static::all()->filter(function ($row) use ($key, $value) { |
|
176 | + return static::all()->filter(function($row) use ($key, $value) { |
|
177 | 177 | $setting = $row->settings($key); |
178 | 178 | |
179 | 179 | if (!is_null($value)) { |