@@ -37,7 +37,7 @@ |
||
37 | 37 | */ |
38 | 38 | public function getDefinition(string $class): Definition |
39 | 39 | { |
40 | - if (! isset($this->definitions[$class])) { |
|
40 | + if (!isset($this->definitions[$class])) { |
|
41 | 41 | $this->definitions[$class] = $this->createDefinition($class); |
42 | 42 | } |
43 | 43 |
@@ -110,7 +110,7 @@ discard block |
||
110 | 110 | */ |
111 | 111 | public function getDefinition(string $class): Definition |
112 | 112 | { |
113 | - if (! isset($this->definitionCache[$class])) { |
|
113 | + if (!isset($this->definitionCache[$class])) { |
|
114 | 114 | $this->definitionCache[$class] = $this->createDefinition($class); |
115 | 115 | } |
116 | 116 | |
@@ -125,9 +125,9 @@ discard block |
||
125 | 125 | */ |
126 | 126 | protected function createDefinition(string $class): Definition |
127 | 127 | { |
128 | - $path = $this->basePath . DIRECTORY_SEPARATOR . str_replace('\\', '.', $class) . '.yml'; |
|
128 | + $path = $this->basePath.DIRECTORY_SEPARATOR.str_replace('\\', '.', $class).'.yml'; |
|
129 | 129 | |
130 | - if (! is_file($path)) { |
|
130 | + if (!is_file($path)) { |
|
131 | 131 | throw new DefinitionNotFoundException($class); |
132 | 132 | } |
133 | 133 | |
@@ -150,7 +150,7 @@ discard block |
||
150 | 150 | */ |
151 | 151 | protected function readConfig(string $path): array |
152 | 152 | { |
153 | - if (! is_readable($path)) { |
|
153 | + if (!is_readable($path)) { |
|
154 | 154 | throw new DefinitionProviderException(sprintf('File "%s" with definition is not readable.', $path)); |
155 | 155 | } |
156 | 156 |