@@ -13,7 +13,7 @@ |
||
| 13 | 13 | */ |
| 14 | 14 | public function boot() |
| 15 | 15 | { |
| 16 | - $this->loadViewsFrom(__DIR__.'/views', 'gridview'); |
|
| 16 | + $this->loadViewsFrom(__DIR__ . '/views', 'gridview'); |
|
| 17 | 17 | } |
| 18 | 18 | |
| 19 | 19 | public function register() |
@@ -42,7 +42,7 @@ |
||
| 42 | 42 | private function checkParams() |
| 43 | 43 | { |
| 44 | 44 | if (empty($this->params['dataProvider']) |
| 45 | - || !($this->params['dataProvider'] instanceof Builder) |
|
| 45 | + || !($this->params['dataProvider'] instanceof Builder) |
|
| 46 | 46 | ) { |
| 47 | 47 | throw new ConfigException( |
| 48 | 48 | 'Invalid dataProvider. It must be an instance of Laravel\'s builder' |