@@ -68,7 +68,7 @@ discard block |
||
| 68 | 68 | |
| 69 | 69 | foreach (config('datatables.builders') as $type => $engine) { |
| 70 | 70 | if ($source instanceof $type) { |
| 71 | - if (! isset($tmpType) || is_subclass_of($type, $tmpType)) { |
|
| 71 | + if (!isset($tmpType) || is_subclass_of($type, $tmpType)) { |
|
| 72 | 72 | $tmpType = $type; |
| 73 | 73 | $result = $engine; |
| 74 | 74 | } |
@@ -133,7 +133,7 @@ discard block |
||
| 133 | 133 | */ |
| 134 | 134 | public function getHtmlBuilder() |
| 135 | 135 | { |
| 136 | - if (! class_exists('\Yajra\DataTables\Html\Builder')) { |
|
| 136 | + if (!class_exists('\Yajra\DataTables\Html\Builder')) { |
|
| 137 | 137 | throw new \Exception('Please install yajra/laravel-datatables-html to be able to use this function.'); |
| 138 | 138 | } |
| 139 | 139 | |