* @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
* @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