Merge pull request #5242 from colemanw/getstat
[civicrm-core.git] / CRM / Utils / Hook / Soap.php
index f7aecb08575d88a98a6d53d92e9713bc284c065a..d7c8a5377ac00d0d78f9a0cd72236dedd5f2f6cf 100644 (file)
@@ -23,7 +23,7 @@
  | GNU Affero General Public License or the licensing of CiviCRM,     |
  | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
  +--------------------------------------------------------------------+
-*/
+ */
 
 /**
  *
@@ -34,7 +34,7 @@
  */
 class CRM_Utils_Hook_Soap extends CRM_Utils_Hook {
   /**
-   * Invoke hooks
+   * Invoke hooks.
    *
    * @param int $numParams
    *   Number of parameters to pass to the hook.
@@ -67,12 +67,13 @@ class CRM_Utils_Hook_Soap extends CRM_Utils_Hook {
    *
    * @return mixed
    */
-  function invoke(
+  public function invoke(
     $numParams,
     &$arg1, &$arg2, &$arg3, &$arg4, &$arg5, &$arg6,
     $fnSuffix
   ) {
     // suppress all hok calls during soap
-    return;
+    return NULL;
   }
+
 }