From 99107544ff93bb8f6b378576b9d65c38a7d1019d Mon Sep 17 00:00:00 2001 From: Nuno Maduro Date: Thu, 18 Jul 2024 20:45:47 +0100 Subject: [PATCH] chore: fixes types --- src/Expectation.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Expectation.php b/src/Expectation.php index 55fa626e..2fd592c8 100644 --- a/src/Expectation.php +++ b/src/Expectation.php @@ -454,7 +454,7 @@ final class Expectation { return Targeted::make( $this, - fn (ObjectDescription $object): bool => count(file($object->path)) < $lines, + fn (ObjectDescription $object): bool => count(file($object->path)) < $lines, // @phpstan-ignore-line sprintf('to have less than %d lines of code', $lines), FileLineFinder::where(fn (string $line): bool => str_contains($line, '