@@ -212,12 +212,12 @@ discard block |
||
212 | 212 | |
213 | 213 | if ( ! $this->fileLockRegionDirectory) { |
214 | 214 | throw new \LogicException( |
215 | - 'If you want to use a "READ_WRITE" cache an implementation of "Doctrine\ORM\Cache\ConcurrentRegion" is required, ' . |
|
215 | + 'If you want to use a "READ_WRITE" cache an implementation of "Doctrine\ORM\Cache\ConcurrentRegion" is required, '. |
|
216 | 216 | 'The default implementation provided by doctrine is "Doctrine\ORM\Cache\Region\FileLockRegion" if you want to use it please provide a valid directory, DefaultCacheFactory#setFileLockRegionDirectory(). ' |
217 | 217 | ); |
218 | 218 | } |
219 | 219 | |
220 | - $directory = $this->fileLockRegionDirectory . DIRECTORY_SEPARATOR . $cache['region']; |
|
220 | + $directory = $this->fileLockRegionDirectory.DIRECTORY_SEPARATOR.$cache['region']; |
|
221 | 221 | $region = new FileLockRegion($region, $directory, $this->regionsConfig->getLockLifetime($cache['region'])); |
222 | 222 | } |
223 | 223 | |
@@ -233,7 +233,7 @@ discard block |
||
233 | 233 | { |
234 | 234 | $cacheAdapter = clone $this->cache; |
235 | 235 | |
236 | - if (!$cacheAdapter instanceof CacheProvider) { |
|
236 | + if ( ! $cacheAdapter instanceof CacheProvider) { |
|
237 | 237 | return $cacheAdapter; |
238 | 238 | } |
239 | 239 | |
@@ -243,7 +243,7 @@ discard block |
||
243 | 243 | $namespace .= ':'; |
244 | 244 | } |
245 | 245 | |
246 | - $cacheAdapter->setNamespace($namespace . $name); |
|
246 | + $cacheAdapter->setNamespace($namespace.$name); |
|
247 | 247 | |
248 | 248 | return $cacheAdapter; |
249 | 249 | } |