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:
@@ -36,7 +36,7 @@ class plugininfo_factor_test extends \advanced_testcase {
|
||||
* @covers ::has_setup
|
||||
* @covers ::get_active_user_factor_types
|
||||
*/
|
||||
public function test_get_next_user_login_factor() {
|
||||
public function test_get_next_user_login_factor(): void {
|
||||
|
||||
$this->resetAfterTest(true);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user