@@ -2,9 +2,7 @@ |
||
2 | 2 | |
3 | 3 | namespace Ez\DbLinker\Driver\Connection; |
4 | 4 | |
5 | -use Closure; |
|
6 | 5 | use Exception; |
7 | -use SplObjectStorage; |
|
8 | 6 | use Doctrine\DBAL\DriverManager; |
9 | 7 | use Doctrine\DBAL\Driver\Connection; |
10 | 8 |
@@ -138,6 +138,11 @@ |
||
138 | 138 | return $this->transactionLevel; |
139 | 139 | } |
140 | 140 | |
141 | + /** |
|
142 | + * @param string $method |
|
143 | + * |
|
144 | + * @return \Doctrine\DBAL\Driver\Statement |
|
145 | + */ |
|
141 | 146 | private function callWrappedConnectionAndRetry($method, array $arguments) |
142 | 147 | { |
143 | 148 | return $this->callAndRetry(function () use ($method, $arguments) { |