From: Roland Haeder Date: Thu, 19 Feb 2015 10:35:19 +0000 (+0100) Subject: Some cleanups X-Git-Url: https://git.mxchange.org/?p=core.git;a=commitdiff_plain;h=d72b4a7593476b9d708a41ae797ff580246e1eb1 Some cleanups Signed-off-by: Roland Häder --- 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!