Passed
Push — master ( 63f785...e28c78 )
by Michael
02:34
created
src/Mapper/Definition/MergedProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/Mapper/Definition/YamlDefinitionProvider.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -110,7 +110,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.