@@ -1,20 +1,20 @@ |
||
1 | 1 | <?php |
2 | 2 | namespace StefanoTree; |
3 | 3 | |
4 | -use StefanoTree\NestedSet\Adapter\Zend1DbAdapter; |
|
5 | -use StefanoTree\NestedSet\NodeInfo; |
|
6 | -use Exception; |
|
7 | -use StefanoTree\Exception\InvalidArgumentException; |
|
8 | -use StefanoTree\NestedSet\AddStrategy; |
|
9 | -use StefanoTree\NestedSet\AddStrategy\AddStrategyInterface; |
|
10 | -use StefanoTree\NestedSet\MoveStrategy; |
|
11 | -use StefanoTree\NestedSet\MoveStrategy\MoveStrategyInterface; |
|
12 | -use StefanoTree\NestedSet\Adapter\AdapterInterface; |
|
13 | -use StefanoTree\NestedSet\Options; |
|
14 | -use StefanoTree\NestedSet\Adapter\Doctrine2DBALAdapter; |
|
15 | -use StefanoTree\NestedSet\Adapter\Zend2DbAdapter; |
|
16 | -use StefanoDb\Adapter\ExtendedAdapterInterface; |
|
17 | -use Doctrine\DBAL\Connection as DoctrineConnection; |
|
4 | +use StefanoTree\NestedSet\Adapter\Zend1DbAdapter; |
|
5 | +use StefanoTree\NestedSet\NodeInfo; |
|
6 | +use Exception; |
|
7 | +use StefanoTree\Exception\InvalidArgumentException; |
|
8 | +use StefanoTree\NestedSet\AddStrategy; |
|
9 | +use StefanoTree\NestedSet\AddStrategy\AddStrategyInterface; |
|
10 | +use StefanoTree\NestedSet\MoveStrategy; |
|
11 | +use StefanoTree\NestedSet\MoveStrategy\MoveStrategyInterface; |
|
12 | +use StefanoTree\NestedSet\Adapter\AdapterInterface; |
|
13 | +use StefanoTree\NestedSet\Options; |
|
14 | +use StefanoTree\NestedSet\Adapter\Doctrine2DBALAdapter; |
|
15 | +use StefanoTree\NestedSet\Adapter\Zend2DbAdapter; |
|
16 | +use StefanoDb\Adapter\ExtendedAdapterInterface; |
|
17 | +use Doctrine\DBAL\Connection as DoctrineConnection; |
|
18 | 18 | use Zend_Db_Adapter_Abstract; |
19 | 19 | |
20 | 20 | class NestedSet |
@@ -424,6 +424,9 @@ |
||
424 | 424 | } |
425 | 425 | } |
426 | 426 | |
427 | + /** |
|
428 | + * @param string $column |
|
429 | + */ |
|
427 | 430 | protected function getWhereBetween($column, $first, $second) { |
428 | 431 | $dbAdapter = $this->getDbAdapter(); |
429 | 432 | $quotedColumn = $dbAdapter->quoteIdentifier($column); |
@@ -58,7 +58,7 @@ |
||
58 | 58 | } |
59 | 59 | |
60 | 60 | /** |
61 | - * @return \Zend_Db_Adapter_Pdo_Sqlite |
|
61 | + * @return \Mockery\MockInterface |
|
62 | 62 | */ |
63 | 63 | protected function getDbAdapterMock() |
64 | 64 | { |