Skip to content

Commit 4e8402f

Browse files
committed
Resolved Data Provider method is not static
1 parent 9caa3f4 commit 4e8402f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/custom_completion_test.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ class custom_completion_test extends \advanced_testcase {
5151
*
5252
* @return array[]
5353
*/
54-
public function get_state_provider(): array {
54+
public static function get_state_provider(): array {
5555
return [
5656
'Undefined rule' => [
5757
'somenonexistentrule', COMPLETION_DISABLED, false, null, coding_exception::class
@@ -178,7 +178,7 @@ public function test_is_defined() {
178178
*
179179
* @return array[]
180180
*/
181-
public function get_available_custom_rules_provider(): array {
181+
public static function get_available_custom_rules_provider(): array {
182182
return [
183183
'Completion submit available' => [
184184
COMPLETION_ENABLED, ['completionsubmit']

0 commit comments

Comments
 (0)