@@ -51,7 +51,7 @@ |
||
51 | 51 | { |
52 | 52 | $this->app->singleton( |
53 | 53 | NcentralClient::class, |
54 | - function (Application $app) { |
|
54 | + function(Application $app) { |
|
55 | 55 | return new NcentralClient(); |
56 | 56 | } |
57 | 57 | ); |
@@ -14,7 +14,7 @@ |
||
14 | 14 | public static function factory(string $wsdl) : \Spinen\Ncentral\NcentralClient |
15 | 15 | { |
16 | 16 | $engine = ExtSoapEngineFactory::fromOptions( |
17 | - ExtSoapOptions::defaults($wsdl, []) |
|
17 | + ExtSoapOptions::defaults($wsdl, [ ]) |
|
18 | 18 | ->withClassMap(NcentralClassmap::getCollection()) |
19 | 19 | ); |
20 | 20 | $eventDispatcher = new EventDispatcher(); |
@@ -11,7 +11,7 @@ |
||
11 | 11 | return SoapConfig::create() |
12 | 12 | ->setEngine($engine = ExtSoapEngineFactory::fromOptions( |
13 | 13 | ExtSoapOptions::defaults($wsdl_path, []) |
14 | - ->disableWsdlCache() |
|
14 | + ->disableWsdlCache() |
|
15 | 15 | )) |
16 | 16 | ->setTypeDestination('src/Type') |
17 | 17 | ->setTypeNamespace('Spinen\Ncentral\Type') |
@@ -10,7 +10,7 @@ |
||
10 | 10 | |
11 | 11 | return SoapConfig::create() |
12 | 12 | ->setEngine($engine = ExtSoapEngineFactory::fromOptions( |
13 | - ExtSoapOptions::defaults($wsdl_path, []) |
|
13 | + ExtSoapOptions::defaults($wsdl_path, [ ]) |
|
14 | 14 | ->disableWsdlCache() |
15 | 15 | )) |
16 | 16 | ->setTypeDestination('src/Type') |