From 4ac3656ad3d5558cb6bd526851db3fd137d82c86 Mon Sep 17 00:00:00 2001 From: Renaat Debleu Date: Fri, 23 Feb 2024 09:11:22 +0000 Subject: [PATCH] code review --- classes/privacy/provider.php | 2 +- tests/condition_test.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/classes/privacy/provider.php b/classes/privacy/provider.php index c627c0c..4789ceb 100644 --- a/classes/privacy/provider.php +++ b/classes/privacy/provider.php @@ -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'; } } diff --git a/tests/condition_test.php b/tests/condition_test.php index 5fd8a38..2ea4335 100755 --- a/tests/condition_test.php +++ b/tests/condition_test.php @@ -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');