From 09f8c8dc9eaeec278f0c6a2c51c08946e431871d Mon Sep 17 00:00:00 2001 From: Tim Otten Date: Sun, 25 Aug 2013 23:28:47 -0700 Subject: [PATCH] CRM-13261 - Fix spelling inconsistency ("apiWrapper" vs "apiWrappers") ---------------------------------------- * CRM-13261: add hooks to extend the API from extension http://issues.civicrm.org/jira/browse/CRM-13261 --- CRM/Utils/Hook.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/CRM/Utils/Hook.php b/CRM/Utils/Hook.php index c1552bb091..646185618d 100644 --- a/CRM/Utils/Hook.php +++ b/CRM/Utils/Hook.php @@ -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' ); } -- 2.25.1