MDL-81919 core: Fix coding style issues for recently moved code

This commit is contained in:
Andrew Nicols
2024-05-16 23:17:44 +08:00
parent 8c3f18a4eb
commit 75e8dbb3c5
12 changed files with 91 additions and 71 deletions

View File

@@ -25,11 +25,12 @@
*/
class coding_exception extends moodle_exception {
/**
* Constructor
* Constructor.
*
* @param string $hint short description of problem
* @param string $debuginfo detailed information how to fix problem
*/
function __construct($hint, $debuginfo=null) {
public function __construct($hint, $debuginfo = null) {
parent::__construct('codingerror', 'debug', '', $hint, $debuginfo);
}
}