@@ -63,18 +63,18 @@ discard block |
||
63 | 63 | Configuration $config = null, |
64 | 64 | EventManager $eventManager = null |
65 | 65 | ) { |
66 | - if (! $driver instanceof DriverInterface) { |
|
66 | + if ( ! $driver instanceof DriverInterface) { |
|
67 | 67 | throw new InvalidArgumentException( |
68 | 68 | sprintf('%s needs a driver that implements DriverInterface', static::class) |
69 | 69 | ); |
70 | 70 | } |
71 | 71 | |
72 | 72 | if (isset($params['driverOptions']['x_reconnect_attempts'])) { |
73 | - $this->reconnectAttempts = (int) $params['driverOptions']['x_reconnect_attempts']; |
|
73 | + $this->reconnectAttempts = (int)$params['driverOptions']['x_reconnect_attempts']; |
|
74 | 74 | } |
75 | 75 | |
76 | 76 | if (isset($params['driverOptions']['force_ignore_transaction_level'])) { |
77 | - $this->forceIgnoreTransactionLevel = (int) $params['driverOptions']['force_ignore_transaction_level']; |
|
77 | + $this->forceIgnoreTransactionLevel = (int)$params['driverOptions']['force_ignore_transaction_level']; |
|
78 | 78 | } |
79 | 79 | |
80 | 80 | parent::__construct($params, $driver, $config, $eventManager); |
@@ -357,7 +357,7 @@ discard block |
||
357 | 357 | */ |
358 | 358 | private function resetTransactionNestingLevel(): void |
359 | 359 | { |
360 | - if (! $this->selfReflectionNestingLevelProperty instanceof ReflectionProperty) { |
|
360 | + if ( ! $this->selfReflectionNestingLevelProperty instanceof ReflectionProperty) { |
|
361 | 361 | $reflection = new ReflectionClass(\Doctrine\DBAL\Connection::class); |
362 | 362 | |
363 | 363 | // Private property has been renamed in DBAL 2.9.0+ |