]> git.mxchange.org Git - core.git/blobdiff - framework/main/interfaces/database/class_DatabaseWrapper.php
Continued:
[core.git] / framework / main / interfaces / database / class_DatabaseWrapper.php
index e314256b3b2736e80c1738a66c1e96f8029d7209..87352f00a6a47f66af74632192feae365448adb2 100644 (file)
@@ -11,7 +11,7 @@ use Org\Mxchange\CoreFramework\Generic\FrameworkInterface;
  *
  * @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 - 2020 Core Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
  *
@@ -51,7 +51,7 @@ interface DatabaseWrapper extends FrameworkInterface {
         * @param       $onlyKeys                       Only use these keys for a cache key
         * @return      $resultInstance         An instance of a database result class
         */
-       function doSelectByCriteria(Criteria $criteriaInstance, array $onlyKeys = array());
+       function doSelectByCriteria(Criteria $criteriaInstance, array $onlyKeys = []);
 
        /**
         * Count the numbers of rows we shall receive
@@ -60,7 +60,7 @@ interface DatabaseWrapper extends FrameworkInterface {
         * @param       $onlyKeys                       Only use these keys for a cache key
         * @return      $numRows                        Numbers of rows of database entries
         */
-       function doSelectCountByCriteria(Criteria $criteriaInstance, $onlyKeys = array());
+       function doSelectCountByCriteria(Criteria $criteriaInstance, array $onlyKeys = []);
 
        /**
         * Getter for primary key used in wrapped table