We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7569745 commit 0a1b591Copy full SHA for 0a1b591
lib/Resolver.php
@@ -39,7 +39,7 @@ class Resolver
39
/**
40
* @var InvalidMap[]
41
*/
42
- private $errors;
+ private $errors = [];
43
44
public function __construct(bool $ignoreErrors = false)
45
{
tests/Unit/ResolverTest.php
@@ -45,7 +45,7 @@ public function testIgnoresUnknownKey(): void
'one' => 1,
46
'two' => 2
47
]);
48
- self::assertCount(1, $resolver->errors());
+ self::assertCount(1, $resolver->errors()->errors());
49
}
50
51
public function testMergesDefaults(): void
0 commit comments