Skip to content

Commit

Permalink
Return false so that if the previous handler is the original PHP hand…
Browse files Browse the repository at this point in the history
…ler, it will be handled properly.

Signed-off-by: Jakub Gawron <[email protected]>
  • Loading branch information
kubatek94 committed Feb 3, 2020
1 parent 26c0c1b commit 9e60de0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/private/Files/Storage/Local/DirectoryRenamer.php
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ private function setupErrorHandler(): void {
return call_user_func_array($previousHandler, func_get_args());
}

return true;
return false;
}, E_WARNING | E_USER_WARNING);
}

Expand Down

0 comments on commit 9e60de0

Please sign in to comment.