Skip to content

Commit b20e989

Browse files
authored
Updated AbstractTest.php
Fixed deprecation warning
1 parent 7128277 commit b20e989

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/AbstractTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ protected static function parserVocabulary(): ?Vocabulary
7272
/**
7373
* @dataProvider draftValidationsProvider
7474
*/
75-
public function testValidations(string $uri, $data, bool $valid, bool $expectException = false, array $globals = null, array $slots = null, array $skip_drafts = null)
75+
public function testValidations(string $uri, $data, bool $valid, bool $expectException = false, ?array $globals = null, ?array $slots = null, ?array $skip_drafts = null)
7676
{
7777
$validator = self::validator();
7878

@@ -120,4 +120,4 @@ public function draftValidationsProvider(): iterable
120120
* @return array
121121
*/
122122
abstract public function validationsProvider(): array;
123-
}
123+
}

0 commit comments

Comments
 (0)