Some cleanups
authorRoland Haeder <roland@mxchange.org>
Thu, 19 Feb 2015 10:35:19 +0000 (11:35 +0100)
committerRoland Haeder <roland@mxchange.org>
Thu, 19 Feb 2015 10:35:19 +0000 (11:35 +0100)
Signed-off-by: Roland Häder <roland@mxchange.org>
inc/classes/interfaces/database/class_DatabaseWrapper.php
inc/classes/main/database/class_BaseDatabaseWrapper.php
inc/classes/third_party/api/wernisportal/class_WernisApi.php

index 4488789bf8986fd061b55364e3e772423f49456a..263d28884447c823dc04a46998eabace2497a1e9 100644 (file)
@@ -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
index 3155f823326d14f87d064e7298140233dff87c1c..7653f4d2be6a102e8516cc019cc074d6618905a8 100644 (file)
@@ -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;
 
index 82062ddb12628ac4c75c6e3bb0cc2ca18d9cefec..a71839c26e878b711bbcc26775b6c8492465dcac 100644 (file)
@@ -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!