Continued:
[core.git] / framework / main / interfaces / database / backend / class_DatabaseBackend.php
index 13f2c61cba412ce95a350b0e8566dd4ee9b01d6d..8b8ddf24c1f8cfcae8857b2f0b470b018efaaa2b 100644 (file)
@@ -16,7 +16,7 @@ use Org\Mxchange\CoreFramework\Database\FrameworkDatabase;
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Core Developer Team
+ * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2023 Core Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
  *
@@ -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);
 
 }