From d72b4a7593476b9d708a41ae797ff580246e1eb1 Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Thu, 19 Feb 2015 11:35:19 +0100 Subject: [PATCH] Some cleanups MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- inc/classes/interfaces/database/class_DatabaseWrapper.php | 2 +- inc/classes/main/database/class_BaseDatabaseWrapper.php | 2 +- inc/classes/third_party/api/wernisportal/class_WernisApi.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/inc/classes/interfaces/database/class_DatabaseWrapper.php b/inc/classes/interfaces/database/class_DatabaseWrapper.php index 4488789b..263d2888 100644 --- a/inc/classes/interfaces/database/class_DatabaseWrapper.php +++ b/inc/classes/interfaces/database/class_DatabaseWrapper.php @@ -53,7 +53,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, $onlyKeys = array()); /** * Getter for primary key used in wrapped table diff --git a/inc/classes/main/database/class_BaseDatabaseWrapper.php b/inc/classes/main/database/class_BaseDatabaseWrapper.php index 3155f823..7653f4d2 100644 --- a/inc/classes/main/database/class_BaseDatabaseWrapper.php +++ b/inc/classes/main/database/class_BaseDatabaseWrapper.php @@ -208,7 +208,7 @@ class BaseDatabaseWrapper extends BaseFrameworkSystem { * @param $onlyKeys Only use these keys for a cache key * @return $numRows Numbers of rows of database entries */ - public function doSelectCountByCriteria (Criteria $criteriaInstance, $onlyKeys = array()) { + public function doSelectCountByCriteria (Criteria $criteriaInstance, $onlyKeys = array()) { // Total numbers is -1 so we can distinglish between failed and valid queries $numRows = 0; diff --git a/inc/classes/third_party/api/wernisportal/class_WernisApi.php b/inc/classes/third_party/api/wernisportal/class_WernisApi.php index 82062ddb..a71839c2 100644 --- a/inc/classes/third_party/api/wernisportal/class_WernisApi.php +++ b/inc/classes/third_party/api/wernisportal/class_WernisApi.php @@ -181,7 +181,7 @@ class WernisApi extends BaseFrameworkSystem { } // Sends out a request to the API and returns it's result - private function sendRequest ($scriptName, array $requestData = array()) { + private function sendRequest ($scriptName, array $requestData = array()) { // Is the requestData an array? if (!is_array($requestData)) { // Then abort here! -- 2.39.5