MDL-81522 phpunit: Add missing void return type to all tests
While this change is not 100% required now, it's good habit and we are checking for it since Moodle 4.4. All the changes in this commit have been applied automatically using the moodle.PHPUnit.TestReturnType sniff and are, exclusively adding the ": void" return types when missing.
This commit is contained in:
@@ -82,7 +82,7 @@ class csvclass_test extends \advanced_testcase {
|
||||
';
|
||||
}
|
||||
|
||||
public function test_csv_functions() {
|
||||
public function test_csv_functions(): void {
|
||||
global $CFG;
|
||||
$csvexport = new csv_export_writer();
|
||||
$csvexport->set_filename('unittest');
|
||||
|
||||
Reference in New Issue
Block a user