|
7 | 7 | use Closure; |
8 | 8 | use Override; |
9 | 9 | use PhpDb\Adapter\AdapterInterface; |
10 | | -use PhpDb\Adapter\Driver\StatementInterface; |
11 | 10 | use PhpDb\ResultSet\ResultSet; |
12 | 11 | use PhpDb\ResultSet\ResultSetInterface; |
13 | 12 | use PhpDb\Sql\Delete; |
@@ -191,7 +190,6 @@ protected function executeSelect(Select $select): ResultSetInterface |
191 | 190 | $this->featureSet->apply(EventFeatureEventsInterface::EVENT_PRE_SELECT, [$select]); |
192 | 191 |
|
193 | 192 | // prepare and execute |
194 | | - /** @var StatementInterface $statement */ |
195 | 193 | $statement = $this->sql->prepareStatementForSqlObject($select); |
196 | 194 | $result = $statement->execute(); |
197 | 195 |
|
@@ -249,7 +247,6 @@ protected function executeInsert(Insert $insert): int |
249 | 247 | $insert->into($unaliasedTable); |
250 | 248 | } |
251 | 249 |
|
252 | | - /** @var StatementInterface $statement */ |
253 | 250 | $statement = $this->sql->prepareStatementForSqlObject($insert); |
254 | 251 | $result = $statement->execute(); |
255 | 252 | $this->lastInsertValue = $this->adapter->getDriver()->getConnection()->getLastGeneratedValue(); |
@@ -322,7 +319,6 @@ protected function executeUpdate(Update $update): int |
322 | 319 | $update->table($unaliasedTable); |
323 | 320 | } |
324 | 321 |
|
325 | | - /** @var StatementInterface $statement */ |
326 | 322 | $statement = $this->sql->prepareStatementForSqlObject($update); |
327 | 323 | $result = $statement->execute(); |
328 | 324 |
|
@@ -381,7 +377,6 @@ protected function executeDelete(Delete $delete): int |
381 | 377 | $delete->from($unaliasedTable); |
382 | 378 | } |
383 | 379 |
|
384 | | - /** @var StatementInterface $statement */ |
385 | 380 | $statement = $this->sql->prepareStatementForSqlObject($delete); |
386 | 381 | $result = $statement->execute(); |
387 | 382 |
|
|
0 commit comments