From c42e13d182855d20af534bf8d84a5c142e48f851 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Sat, 11 May 2019 13:49:04 +0400 Subject: Fixed violations CI Signed-off-by: Valentin Popov --- tests/api_test.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/api_test.php b/tests/api_test.php index 5bca6ab..210c58f 100644 --- a/tests/api_test.php +++ b/tests/api_test.php @@ -150,7 +150,7 @@ final class local_webhooks_api_testcase extends advanced_testcase { self::assertNotCount(0, $events); - foreach ($events as $name => $event) { + foreach ($events as $event) { self::assertInternalType('array', $event); self::assertEquals([ -- cgit v1.2.3