]> git.mxchange.org Git - core.git/blobdiff - framework/main/interfaces/database/backend/class_DatabaseBackend.php
Continued:
[core.git] / framework / main / interfaces / database / backend / class_DatabaseBackend.php
index 425d4633c5004c0d573734870745cd31bbcea20d..4bdbec70185d4a6e3f596e40d9b9bd35506a0dc6 100644 (file)
@@ -80,7 +80,7 @@ interface DatabaseBackend extends FrameworkDatabase {
         * @throws      UnsupportedCriteriaException    If the criteria is unsupported
         * @throws      SqlException                                    If an 'SQL error' occurs
         */
-       function querySelect ($tableName, LocalSearchCriteria $searchInstance);
+       function querySelect (string $tableName, LocalSearchCriteria $searchInstance);
 
        /**
         * "Inserts" a data set instance into a local file database folder
@@ -107,7 +107,7 @@ interface DatabaseBackend extends FrameworkDatabase {
         * @param       $tableName              Name of the table we need the primary key from
         * @return      $primaryKey             Primary key column of the given table
         */
-       function getPrimaryKeyOfTable ($tableName);
+       function getPrimaryKeyOfTable (string $tableName);
 
        /**
         * Removes non-data from given array.
@@ -124,6 +124,6 @@ interface DatabaseBackend extends FrameworkDatabase {
         * @param       $tableName      Table name
         * @return      $count          Total rows of given table
         */
-       function countTotalRows($tableName);
+       function countTotalRows(string $tableName);
 
 }