From 4c3c31d7d9a515125bfa219099c4df563e4422a8 Mon Sep 17 00:00:00 2001 From: Ruben Van Assche Date: Fri, 5 May 2023 17:24:41 +0200 Subject: [PATCH] Fix phpstan --- phpstan-baseline.neon | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index 5e4d4aa87..ef0451e25 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -90,6 +90,11 @@ parameters: count: 2 path: src/PaginatedDataCollection.php + - + message: "#^Dead catch \\- ArgumentCountError is never thrown in the try block\\.$#" + count: 1 + path: src/Resolvers/DataFromArrayResolver.php + - message: "#^Readonly property Spatie\\\\LaravelData\\\\Support\\\\DataType\\:\\:\\$acceptedTypes is already assigned\\.$#" count: 2