Skip to content

Commit

Permalink
code review
Browse files Browse the repository at this point in the history
  • Loading branch information
rdebleu committed Feb 23, 2024
1 parent 08cd608 commit 4ac3656
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion classes/privacy/provider.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class provider implements \core_privacy\local\metadata\null_provider {
*
* @return string
*/
public static function get_reason() : string {
public static function get_reason(): string {
return 'privacy:metadata';
}
}
2 changes: 1 addition & 1 deletion tests/condition_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class condition_test extends \advanced_testcase {
/**
* Load required classes.
*/
public function setUp():void {
public function setUp(): void {
// Load the mock info class so that it can be used.
global $CFG;
require_once($CFG->dirroot . '/availability/tests/fixtures/mock_info.php');
Expand Down

0 comments on commit 4ac3656

Please sign in to comment.