@@ -98,7 +98,7 @@ |
||
| 98 | 98 | */ |
| 99 | 99 | public function register() |
| 100 | 100 | { |
| 101 | - $this->app->singleton('metadata', function ($app) { |
|
| 101 | + $this->app->singleton('metadata', function($app) { |
|
| 102 | 102 | return new SimpleMetadataProvider('Data', self::$METANAMESPACE); |
| 103 | 103 | }); |
| 104 | 104 | } |
@@ -79,7 +79,7 @@ |
||
| 79 | 79 | */ |
| 80 | 80 | public function register() |
| 81 | 81 | { |
| 82 | - $this->app->singleton('metadataControllers', function ($app) { |
|
| 82 | + $this->app->singleton('metadataControllers', function($app) { |
|
| 83 | 83 | return new MetadataControllerContainer(); |
| 84 | 84 | }); |
| 85 | 85 | } |
@@ -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 | } |
@@ -490,7 +490,7 @@ |
||
| 490 | 490 | } |
| 491 | 491 | $outData = $result->getData(); |
| 492 | 492 | if (is_object($outData)) { |
| 493 | - $outData = (array)$outData; |
|
| 493 | + $outData = (array) $outData; |
|
| 494 | 494 | } |
| 495 | 495 | |
| 496 | 496 | if (!is_array($outData)) { |
@@ -301,7 +301,7 @@ |
||
| 301 | 301 | if (!isset($functionDescription)) { |
| 302 | 302 | throw new \InvalidArgumentException('onFunctionCallExpression'); |
| 303 | 303 | } |
| 304 | - if(!array_key_exists ($functionDescription->name, $this->functionDescriptionParsers)){ |
|
| 304 | + if (!array_key_exists($functionDescription->name, $this->functionDescriptionParsers)) { |
|
| 305 | 305 | throw new \InvalidArgumentException('onFunctionCallExpression'); |
| 306 | 306 | } |
| 307 | 307 | return $this->functionDescriptionParsers[$functionDescription->name]($params); |