@@ -24,7 +24,7 @@ |
||
24 | 24 | * SQLSelect constructor. |
25 | 25 | * |
26 | 26 | * @param PersistenceService $persistence |
27 | - * @param $entity |
|
27 | + * @param string $entity |
|
28 | 28 | */ |
29 | 29 | public function __construct(PersistenceService $persistence, $entity) { |
30 | 30 | parent::__construct($entity); |
@@ -14,6 +14,9 @@ |
||
14 | 14 | return []; |
15 | 15 | } |
16 | 16 | |
17 | + /** |
|
18 | + * @param string $tableName |
|
19 | + */ |
|
17 | 20 | public function getColsOfTable($tableName) { |
18 | 21 | return array_keys($this->getMetaData($tableName)); |
19 | 22 | } |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace Softbox\Persistence\Core\SQL\Command; |
4 | 4 | |
5 | 5 | use Softbox\Persistence\Core\SQL\Builder\SQLConverter; |
6 | -use Softbox\Persistence\Core\SQL\PersistenceService; |
|
7 | 6 | use Softbox\Persistence\Core\UpdateBase; |
8 | 7 | |
9 | 8 | /** |