@@ -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 | { |
@@ -57,7 +57,7 @@ |
||
| 57 | 57 | } |
| 58 | 58 | |
| 59 | 59 | /** |
| 60 | - * @return \StefanoDb\Adapter\Adapter |
|
| 60 | + * @return \Mockery\MockInterface |
|
| 61 | 61 | */ |
| 62 | 62 | private function getDbAdapterMock() |
| 63 | 63 | { |
@@ -181,6 +181,9 @@ discard block |
||
| 181 | 181 | $dbAdapter->update($options->getTableName(), $bind, $where); |
| 182 | 182 | } |
| 183 | 183 | |
| 184 | + /** |
|
| 185 | + * @param integer $scope |
|
| 186 | + */ |
|
| 184 | 187 | public function getRoots($scope=null) |
| 185 | 188 | { |
| 186 | 189 | $options = $this->getOptions(); |
@@ -489,6 +492,9 @@ discard block |
||
| 489 | 492 | } |
| 490 | 493 | } |
| 491 | 494 | |
| 495 | + /** |
|
| 496 | + * @param string $column |
|
| 497 | + */ |
|
| 492 | 498 | protected function getWhereBetween($column, $first, $second) |
| 493 | 499 | { |
| 494 | 500 | $dbAdapter = $this->getDbAdapter(); |
@@ -363,6 +363,9 @@ |
||
| 363 | 363 | ->execute($binds); |
| 364 | 364 | } |
| 365 | 365 | |
| 366 | + /** |
|
| 367 | + * @param integer $scope |
|
| 368 | + */ |
|
| 366 | 369 | public function getRoots($scope=null) |
| 367 | 370 | { |
| 368 | 371 | $options = $this->getOptions(); |
@@ -363,6 +363,9 @@ |
||
| 363 | 363 | ->execute($binds); |
| 364 | 364 | } |
| 365 | 365 | |
| 366 | + /** |
|
| 367 | + * @param integer $scope |
|
| 368 | + */ |
|
| 366 | 369 | public function getRoots($scope=null) |
| 367 | 370 | { |
| 368 | 371 | $options = $this->getOptions(); |