X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=framework%2Fmain%2Finterfaces%2Fdatabase%2Fclass_DatabaseWrapper.php;h=87352f00a6a47f66af74632192feae365448adb2;hb=498e6b065ce47804bff4e1073592a2cc8e28f8ef;hp=e314256b3b2736e80c1738a66c1e96f8029d7209;hpb=b002c5909aa0f781505dde5414964b0f014cde01;p=core.git diff --git a/framework/main/interfaces/database/class_DatabaseWrapper.php b/framework/main/interfaces/database/class_DatabaseWrapper.php index e314256b..87352f00 100644 --- a/framework/main/interfaces/database/class_DatabaseWrapper.php +++ b/framework/main/interfaces/database/class_DatabaseWrapper.php @@ -11,7 +11,7 @@ use Org\Mxchange\CoreFramework\Generic\FrameworkInterface; * * @author Roland Haeder * @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