mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 17:36:38 +02:00
Merge branch 'MDL-70876_311' of https://github.com/stronk7/moodle into MOODLE_311_STABLE
This commit is contained in:
commit
c9d57344b0
3 changed files with 4 additions and 7 deletions
|
@ -504,10 +504,9 @@ class mock_course_backup_setting extends course_backup_setting {
|
|||
* @param string $errstr
|
||||
* @param string $errfile
|
||||
* @param int $errline
|
||||
* @param array $errcontext
|
||||
* @return null
|
||||
*/
|
||||
function backup_setting_error_handler($errno, $errstr, $errfile, $errline, $errcontext) {
|
||||
function backup_setting_error_handler($errno, $errstr, $errfile, $errline) {
|
||||
if ($errno !== E_RECOVERABLE_ERROR) {
|
||||
// Currently we only want to deal with type hinting errors
|
||||
return false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue