X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=framework%2Fmain%2Finterfaces%2Fdatabase%2Fclass_DatabaseWrapper.php;h=87352f00a6a47f66af74632192feae365448adb2;hb=498e6b065ce47804bff4e1073592a2cc8e28f8ef;hp=0bd5566db6c567b0dd97e78f663e00d4ae7bdebd;hpb=54a56ed3c7cef5e7989100d2c5a7de8647d545de;p=core.git diff --git a/framework/main/interfaces/database/class_DatabaseWrapper.php b/framework/main/interfaces/database/class_DatabaseWrapper.php index 0bd5566d..87352f00 100644 --- a/framework/main/interfaces/database/class_DatabaseWrapper.php +++ b/framework/main/interfaces/database/class_DatabaseWrapper.php @@ -1,17 +1,17 @@ * @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