CRM-13261 - Fix spelling inconsistency ("apiWrapper" vs "apiWrappers")
authorTim Otten <totten@civicrm.org>
Mon, 26 Aug 2013 06:28:47 +0000 (23:28 -0700)
committerTim Otten <totten@civicrm.org>
Mon, 26 Aug 2013 06:28:47 +0000 (23:28 -0700)
----------------------------------------
* CRM-13261: add hooks to extend the API from extension
  http://issues.civicrm.org/jira/browse/CRM-13261

CRM/Utils/Hook.php

index c1552bb091f88ce88f1d4c552edc090564db8581..646185618ddc83561427d3374874934bd95ff5d3 100644 (file)
@@ -1223,9 +1223,10 @@ abstract class CRM_Utils_Hook {
    * @return null the return value is ignored
    * @access public
    */
-  static function apiWrappers (&$wrappers,$apiRequest) {
-    return self::singleton()->invoke(2, $wrappers, $apiRequest, self::$_nullObject, self::$_nullObject, self::$_nullObject,
-      'civicrm_apiWrapper'
+  static function apiWrappers(&$wrappers, $apiRequest) {
+    return self::singleton()
+      ->invoke(2, $wrappers, $apiRequest, self::$_nullObject, self::$_nullObject, self::$_nullObject,
+      'civicrm_apiWrappers'
     );
   }