chore: missing types

This commit is contained in:
Nuno Maduro
2026-02-17 17:52:00 +00:00
parent 2c040c5b1f
commit f0a08f0503
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -864,7 +864,7 @@ final class Expectation
return Targeted::make(
$this,
fn (ObjectDescription $object): bool => array_all($interfaces, fn ($interface): bool => isset($object->reflectionClass) && $object->reflectionClass->implementsInterface($interface)),
fn (ObjectDescription $object): bool => array_all($interfaces, fn (string $interface): bool => isset($object->reflectionClass) && $object->reflectionClass->implementsInterface($interface)),
"to implement '".implode("', '", $interfaces)."'",
FileLineFinder::where(fn (string $line): bool => str_contains($line, 'class')),
);