@@ -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 | } |