moodle/repository/contentbank
Eloy Lafuente (stronk7) 4f7631113c
MDL-81522 phpunit: Add missing void return type to all tests #2
This commit includes more changes, all them also adding the :void
return type to unit tests missing them.

The difference is that all these changes, while also detected
perfectly by the moodle.PHPUnit.TestReturnType sniff, were not
auto-fixed (like the previous commit ones), because all them
do include some "return" statement and, for safety, we don't
fix them.

All the cases have been visually inspected and confirmed that
the existing "return" statements always belong to anon
functions within the test body and not the test own return statement.
2024-06-11 11:55:08 +02:00
..
classes MDL-65292 style: Fix all function declarations white space 2024-02-28 23:33:26 +01:00
db
lang/en MDL-68888 lang: Import fixed English strings (en_fix) 2020-06-05 08:33:55 +02:00
pix
tests MDL-81522 phpunit: Add missing void return type to all tests #2 2024-06-11 11:55:08 +02:00
lib.php MDL-70429 repository_contentbank: set default returntype 2021-01-28 16:45:08 +01:00
version.php MDL-81549 versions: bump all versions and requires near release 2024-04-17 00:03:29 +08:00