@@ -12,9 +12,9 @@ |
||
| 12 | 12 | final class ClientFactory |
| 13 | 13 | { |
| 14 | 14 | /** |
| 15 | - * @param string $reference |
|
| 16 | - * @return XmlInjectable |
|
| 17 | - */ |
|
| 15 | + * @param string $reference |
|
| 16 | + * @return XmlInjectable |
|
| 17 | + */ |
|
| 18 | 18 | public function fromStr(string $reference): XmlInjectable |
| 19 | 19 | { |
| 20 | 20 | $parts = explode('/', $reference); |
@@ -24,7 +24,7 @@ |
||
| 24 | 24 | $this->injection = new DeferredFragmentInjection( |
| 25 | 25 | $parentNS, |
| 26 | 26 | $parentTagName, |
| 27 | - function () use ($fragment): string { |
|
| 27 | + function() use ($fragment): string { |
|
| 28 | 28 | return $fragment; |
| 29 | 29 | } |
| 30 | 30 | ); |
@@ -46,14 +46,14 @@ |
||
| 46 | 46 | return new self($elements); |
| 47 | 47 | } |
| 48 | 48 | |
| 49 | - /** |
|
| 50 | - * Clone builder and replace userId in SOAP header |
|
| 51 | - * |
|
| 52 | - * @param string $userId the user who is making the request |
|
| 53 | - * Format: {iso2LetterCountryCode}{personCode} |
|
| 54 | - * Example: EE0000000000 |
|
| 55 | - * @return self cloned builder with overwritten client data |
|
| 56 | - */ |
|
| 49 | + /** |
|
| 50 | + * Clone builder and replace userId in SOAP header |
|
| 51 | + * |
|
| 52 | + * @param string $userId the user who is making the request |
|
| 53 | + * Format: {iso2LetterCountryCode}{personCode} |
|
| 54 | + * Example: EE0000000000 |
|
| 55 | + * @return self cloned builder with overwritten client data |
|
| 56 | + */ |
|
| 57 | 57 | public function withUserId(string $userId): self |
| 58 | 58 | { |
| 59 | 59 | $elements = $this->elements; |
@@ -150,7 +150,7 @@ |
||
| 150 | 150 | $this->elements['id'] = new DeferredFragmentInjection( |
| 151 | 151 | 'http://schemas.xmlsoap.org/soap/envelope/', |
| 152 | 152 | 'Header', |
| 153 | - function (): string { |
|
| 153 | + function(): string { |
|
| 154 | 154 | return sprintf( |
| 155 | 155 | '<xrd:id xmlns:xrd="http://x-road.eu/xsd/xroad.xsd">%s</xrd:id>', |
| 156 | 156 | bin2hex(random_bytes(16)) |