@@ -81,7 +81,7 @@ |
||
81 | 81 | return $config; |
82 | 82 | } |
83 | 83 | |
84 | - public function initialize(IServiceConfiguration $config){ |
|
84 | + public function initialize(IServiceConfiguration $config) { |
|
85 | 85 | |
86 | 86 | } |
87 | 87 |
@@ -81,7 +81,8 @@ |
||
81 | 81 | return $config; |
82 | 82 | } |
83 | 83 | |
84 | - public function initialize(IServiceConfiguration $config){ |
|
84 | + public function initialize(IServiceConfiguration $config) |
|
85 | + { |
|
85 | 86 | |
86 | 87 | } |
87 | 88 |
@@ -395,16 +395,16 @@ |
||
395 | 395 | |
396 | 396 | //We always register the v1 stuff |
397 | 397 | $registry->register(new JsonODataV1Writer($this->getConfiguration()->getLineEndings(), $this->getConfiguration()->getPrettyOutput())); |
398 | - $registry->register(new AtomODataWriter($this->getConfiguration()->getLineEndings(), $this->getConfiguration()->getPrettyOutput(),$serviceURI)); |
|
398 | + $registry->register(new AtomODataWriter($this->getConfiguration()->getLineEndings(), $this->getConfiguration()->getPrettyOutput(), $serviceURI)); |
|
399 | 399 | |
400 | 400 | if (-1 < $serviceVersion->compare(Version::v2())) { |
401 | 401 | $registry->register(new JsonODataV2Writer($this->getConfiguration()->getLineEndings(), $this->getConfiguration()->getPrettyOutput())); |
402 | 402 | } |
403 | 403 | |
404 | 404 | if (-1 < $serviceVersion->compare(Version::v3())) { |
405 | - $registry->register(new JsonLightODataWriter($this->getConfiguration()->getLineEndings(), $this->getConfiguration()->getPrettyOutput(),JsonLightMetadataLevel::NONE(), $serviceURI)); |
|
406 | - $registry->register(new JsonLightODataWriter($this->getConfiguration()->getLineEndings(), $this->getConfiguration()->getPrettyOutput(),JsonLightMetadataLevel::MINIMAL(), $serviceURI)); |
|
407 | - $registry->register(new JsonLightODataWriter($this->getConfiguration()->getLineEndings(), $this->getConfiguration()->getPrettyOutput(),JsonLightMetadataLevel::FULL(), $serviceURI)); |
|
405 | + $registry->register(new JsonLightODataWriter($this->getConfiguration()->getLineEndings(), $this->getConfiguration()->getPrettyOutput(), JsonLightMetadataLevel::NONE(), $serviceURI)); |
|
406 | + $registry->register(new JsonLightODataWriter($this->getConfiguration()->getLineEndings(), $this->getConfiguration()->getPrettyOutput(), JsonLightMetadataLevel::MINIMAL(), $serviceURI)); |
|
407 | + $registry->register(new JsonLightODataWriter($this->getConfiguration()->getLineEndings(), $this->getConfiguration()->getPrettyOutput(), JsonLightMetadataLevel::FULL(), $serviceURI)); |
|
408 | 408 | } |
409 | 409 | } |
410 | 410 |
@@ -38,7 +38,7 @@ |
||
38 | 38 | * @param string $eol the line terminator character |
39 | 39 | * @param bool $prettyPrint if output should be well formatted. |
40 | 40 | */ |
41 | - public function __construct($writer, string $eol, bool $prettyPrint) |
|
41 | + public function __construct($writer, string $eol, bool $prettyPrint) |
|
42 | 42 | { |
43 | 43 | $this->writer = new IndentedTextWriter($writer, $eol, $prettyPrint); |
44 | 44 | } |