X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FQueue%2FErrorPolicy.php;h=34a68401206ae0fb8488d6f4b9b806ab1ccd9374;hb=feaa3c58cb1b60d3400c94bb33e7d2f7875220bd;hp=da2e296668d5531c32f7cf7c932aa4872496c7c0;hpb=39981e4d35e9e9b9ede5afb59a6db5c1e53c3ac8;p=civicrm-core.git diff --git a/CRM/Queue/ErrorPolicy.php b/CRM/Queue/ErrorPolicy.php index da2e296668..34a6840120 100644 --- a/CRM/Queue/ErrorPolicy.php +++ b/CRM/Queue/ErrorPolicy.php @@ -3,7 +3,7 @@ +--------------------------------------------------------------------+ | CiviCRM version 4.7 | +--------------------------------------------------------------------+ - | Copyright CiviCRM LLC (c) 2004-2015 | + | Copyright CiviCRM LLC (c) 2004-2017 | +--------------------------------------------------------------------+ | This file is a part of CiviCRM. | | | @@ -113,9 +113,17 @@ class CRM_Queue_ErrorPolicy { } /** - * Receive (semi) recoverable error notices + * Receive (semi) recoverable error notices. * * @see set_error_handler + * + * @param string $errno + * @param string $errstr + * @param string $errfile + * @param int $errline + * + * @return bool + * @throws \Exception */ public function onError($errno, $errstr, $errfile, $errline) { if (!(error_reporting() & $errno)) {