From c6bcb7406d7f13cff11c1e2c5f7388e4ed605ca5 Mon Sep 17 00:00:00 2001 From: Alfred Nutile Date: Wed, 23 Oct 2024 23:02:55 -0400 Subject: [PATCH] fix stan --- phpstan.neon | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/phpstan.neon b/phpstan.neon index 3d21490..417206d 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -9,7 +9,12 @@ parameters: # The level 8 is the highest level level: 5 - # ignoreErrors: + ignoreErrors: + - '#Parameter \#1 \$fn of method EchoLabs\\Prism\\Tool\:\:using\(\) expects callable\(\)\: string, \$this\(App\\Services\\Prism\\Tools\\SendEmailToTeam\) given\.#' + - '#Parameter \$properties of class EchoLabs\\Prism\\Schema\\ObjectSchema constructor expects array, array given\.#' + - '#Parameter \#1 \$callback of method Illuminate\\Support\\Collection::transform\(\) expects callable\(App\\Models\\Message, int\): App\\Models\\Message, Closure\(mixed\): \(EchoLabs\\Prism\\ValueObjects\\Messages\\AssistantMessage\|EchoLabs\\Prism\\ValueObjects\\Messages\\UserMessage\) given\.#' + - '#Parameter \#1 \$fn of method EchoLabs\\Prism\\Tool::using\(\) expects callable\(\): string, \$this\(App\\Services\\Prism\\Tools\\CreateTask\) given\.#' + - '#Parameter \#1 \$fn of method EchoLabs\\Prism\\Tool::using\(\) expects callable\(\): string, \$this\(App\\Services\\Prism\\Tools\\TaskList\) given\.#' excludePaths: - vendor