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:
Eloy Lafuente (stronk7)
2024-06-11 12:18:04 +02:00
parent db07c09afc
commit 1093256560
1360 changed files with 9928 additions and 9928 deletions
+1 -1
View File
@@ -83,7 +83,7 @@ class client_test extends advanced_testcase {
* @param array $expected
* @throws ReflectionException
*/
public function test_map_userinfo_to_fields(array $mapping, array $expected) {
public function test_map_userinfo_to_fields(array $mapping, array $expected): void {
$dataset = [
"name" => (object) [
"firstname" => "John",