File tree Expand file tree Collapse file tree 2 files changed +1
-12
lines changed Expand file tree Collapse file tree 2 files changed +1
-12
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ public function __construct(PDO $pdo) {
4141 $ this ->pdo = $ pdo ;
4242 $ this ->aliasRegistry = new AliasRegistry ();
4343 $ this ->queryLoggers = new QueryLoggers ();
44- $ this ->exceptionInterpreter = new MySQLExceptionInterpreter ($ pdo );
44+ $ this ->exceptionInterpreter = new MySQLExceptionInterpreter ();
4545 }
4646
4747 /**
Original file line number Diff line number Diff line change 11<?php
22namespace Kir \MySQL \Databases \MySQL ;
33
4- use PDO ;
54use PDOException ;
65use Kir \MySQL \Exceptions \SqlDeadLockException ;
76use Kir \MySQL \Exceptions \DuplicateUniqueKeyException ;
87use Kir \MySQL \Exceptions \LockWaitTimeoutExceededException ;
98
109class MySQLExceptionInterpreter {
11- /** @var PDO */
12- private $ pdo ;
13-
14- /**
15- * @param PDO $pdo
16- */
17- public function __construct (PDO $ pdo ) {
18- $ this ->pdo = $ pdo ;
19- }
20-
2110 /**
2211 * @param PDOException $exception
2312 * @throw PDOException
You can’t perform that action at this time.
0 commit comments