@@ -45,9 +45,9 @@ |
||
| 45 | 45 | foreach ($engines as $engine => $class) { |
| 46 | 46 | $engine = Str::camel($engine); |
| 47 | 47 | |
| 48 | - if (! method_exists(DataTables::class, $engine) && ! DataTables::hasMacro($engine)) { |
|
| 48 | + if (!method_exists(DataTables::class, $engine) && !DataTables::hasMacro($engine)) { |
|
| 49 | 49 | DataTables::macro($engine, function () use ($class) { |
| 50 | - if (! call_user_func_array([$class, 'canCreate'], func_get_args())) { |
|
| 50 | + if (!call_user_func_array([$class, 'canCreate'], func_get_args())) { |
|
| 51 | 51 | throw new \InvalidArgumentException(); |
| 52 | 52 | } |
| 53 | 53 | |
@@ -263,7 +263,7 @@ |
||
| 263 | 263 | { |
| 264 | 264 | $arrayDot = array_filter(Arr::dot($row)); |
| 265 | 265 | foreach ($arrayDot as $key => $value) { |
| 266 | - if (! in_array($key, $this->rawColumns)) { |
|
| 266 | + if (!in_array($key, $this->rawColumns)) { |
|
| 267 | 267 | $arrayDot[$key] = (is_string($value) || $value instanceof Htmlable) ? e($value) : $value; |
| 268 | 268 | } |
| 269 | 269 | } |