@@ -20,7 +20,7 @@ |
||
| 20 | 20 | /** |
| 21 | 21 | * @param array $keys |
| 22 | 22 | */ |
| 23 | - public function __construct(Array $keys) |
|
| 23 | + public function __construct(array $keys) |
|
| 24 | 24 | { |
| 25 | 25 | $this->keys = $keys; |
| 26 | 26 | } |
@@ -27,7 +27,7 @@ discard block |
||
| 27 | 27 | */ |
| 28 | 28 | public function getEndpoint(string $name, string $version): Endpoint |
| 29 | 29 | { |
| 30 | - $className = $this->buildVersionedEndpointNamespace($version) . $name; |
|
| 30 | + $className = $this->buildVersionedEndpointNamespace($version).$name; |
|
| 31 | 31 | if (!class_exists($className)) { |
| 32 | 32 | throw new UnknownEndpointException("Could not find $className"); |
| 33 | 33 | } |
@@ -56,6 +56,6 @@ discard block |
||
| 56 | 56 | |
| 57 | 57 | protected function buildVersionedEndpointNamespace(string $version): string |
| 58 | 58 | { |
| 59 | - return $this->endpointNamespace . '\v' . str_replace('.', '_', $version) . '\\'; |
|
| 59 | + return $this->endpointNamespace.'\v'.str_replace('.', '_', $version).'\\'; |
|
| 60 | 60 | } |
| 61 | 61 | } |
@@ -31,7 +31,7 @@ |
||
| 31 | 31 | */ |
| 32 | 32 | public function getEndpoint(string $name, string $version): Endpoint |
| 33 | 33 | { |
| 34 | - $className = $this->buildVersionedEndpointNamespace($version) . $name; |
|
| 34 | + $className = $this->buildVersionedEndpointNamespace($version).$name; |
|
| 35 | 35 | return new $className($this->entityManager); |
| 36 | 36 | } |
| 37 | 37 | } |
@@ -25,7 +25,7 @@ |
||
| 25 | 25 | $this->config = parse_ini_file($filename, true); |
| 26 | 26 | |
| 27 | 27 | if ($this->config === false) { |
| 28 | - throw new INIParseException('Could not parse: ' . $filename, true); |
|
| 28 | + throw new INIParseException('Could not parse: '.$filename, true); |
|
| 29 | 29 | } |
| 30 | 30 | } |
| 31 | 31 | |