X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FUtils%2FAutoClean.php;h=1be38b0ece20ac11d069018901a3d69458914395;hb=6e902643f72c1e215dbdd04e15e99148c2f9706e;hp=48e0cf9e2df2da96e23b618e45fd25b7d4995099;hpb=35027fdbec97bdee52ea4aab76cac5091e32a6fe;p=civicrm-core.git diff --git a/CRM/Utils/AutoClean.php b/CRM/Utils/AutoClean.php index 48e0cf9e2d..1be38b0ece 100644 --- a/CRM/Utils/AutoClean.php +++ b/CRM/Utils/AutoClean.php @@ -29,14 +29,14 @@ class CRM_Utils_AutoClean { /** * Call a cleanup function when the current context shuts down. * - * @code + * ``` * function doStuff() { * $ac = CRM_Utils_AutoClean::with(function(){ * MyCleanup::doIt(); * }); * ... * } - * @endcode + * ``` * * @param mixed $callback * @return CRM_Utils_AutoClean @@ -52,12 +52,12 @@ class CRM_Utils_AutoClean { * Temporarily swap values using callback functions, and cleanup * when the current context shuts down. * - * @code + * ``` * function doStuff() { * $ac = CRM_Utils_AutoClean::swap('My::get', 'My::set', 'tmpValue'); * ... * } - * @endcode + * ``` * * @param mixed $getter * Function to lookup current value.