Skip to content

Commit

Permalink
Add types to test class variables
Browse files Browse the repository at this point in the history
  • Loading branch information
PhMemmel committed Sep 26, 2023
1 parent 7f574e9 commit bfecf32
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/massaction_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
use moodle_exception;
use require_login_exception;
use restore_controller_exception;
use stdClass;

/**
* block_massaction phpunit test class.
Expand All @@ -40,12 +41,12 @@ class massaction_test extends advanced_testcase {
/**
* @var stdClass Course record.
*/
private $course;
private stdClass $course;

/**
* @var stdClass User record.
*/
private $teacher;
private stdClass $teacher;

/**
* Prepare testing.
Expand Down

0 comments on commit bfecf32

Please sign in to comment.