projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #8694 from eileenmcnaughton/unhurt-my-server
[civicrm-core.git]
/
CRM
/
Queue
/
ErrorPolicy.php
diff --git
a/CRM/Queue/ErrorPolicy.php
b/CRM/Queue/ErrorPolicy.php
index 9a3a97b0964cc6589ca6b5538570168337e869d7..0fbea745cef36904c523d1f86049e2b03d261fa8 100644
(file)
--- a/
CRM/Queue/ErrorPolicy.php
+++ b/
CRM/Queue/ErrorPolicy.php
@@
-1,9
+1,9
@@
<?php
/*
+--------------------------------------------------------------------+
<?php
/*
+--------------------------------------------------------------------+
- | CiviCRM version 4.
6
|
+ | CiviCRM version 4.
7
|
+--------------------------------------------------------------------+
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-201
5
|
+ | Copyright CiviCRM LLC (c) 2004-201
6
|
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
+--------------------------------------------------------------------+
| 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
*
* @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)) {
*/
public function onError($errno, $errstr, $errfile, $errline) {
if (!(error_reporting() & $errno)) {