@@ -24,7 +24,7 @@ |
||
| 24 | 24 | */ |
| 25 | 25 | public function register() |
| 26 | 26 | { |
| 27 | - $this->app->singleton('odataquery', function ($app) { |
|
| 27 | + $this->app->singleton('odataquery', function($app) { |
|
| 28 | 28 | return new LaravelQuery(); |
| 29 | 29 | }); |
| 30 | 30 | } |
@@ -66,7 +66,7 @@ |
||
| 66 | 66 | */ |
| 67 | 67 | public function setResourceType(ResourceType $resourceType) |
| 68 | 68 | { |
| 69 | - $this->iteratorName = "$" . $resourceType->getName(); |
|
| 69 | + $this->iteratorName = "$".$resourceType->getName(); |
|
| 70 | 70 | $this->resourceType = $resourceType; |
| 71 | 71 | } |
| 72 | 72 | /** |
@@ -21,11 +21,11 @@ |
||
| 21 | 21 | { |
| 22 | 22 | self::$METANAMESPACE = env('ODataMetaNamespace', 'Data'); |
| 23 | 23 | // If we aren't migrated, there's no DB tables to pull metadata _from_, so bail out early |
| 24 | - try{ |
|
| 24 | + try { |
|
| 25 | 25 | if (!Schema::hasTable('migrations')) { |
| 26 | 26 | return; |
| 27 | 27 | } |
| 28 | - }catch(\Exception $e){ |
|
| 28 | + } catch (\Exception $e) { |
|
| 29 | 29 | return; |
| 30 | 30 | } |
| 31 | 31 | |