chore: update prism-php/prism version constraint in composer.json (#33) #60
Annotations
7 errors
phpstan
Process completed with exit code 1.
|
phpstan:
src/McpHandler.php#L96
Parameter #1 $callback of method Illuminate\Support\Collection<(int|string),mixed>::map() expects callable(mixed, int|string): array{name: string, description: string, inputSchema: array{type: 'object', properties: array<string, Prism\Prism\Contracts\Schema>|stdClass, required: array<int, string>, additionalProperties: false}}, Closure(Prism\Prism\Tool): array{name: string, description: string, inputSchema: array{type: 'object', properties: array<string, Prism\Prism\Contracts\Schema>|stdClass, required: array<int, string>, additionalProperties: false}} given.
|
phpstan:
src/McpHandler.php#L0
Ignored error pattern #^Parameter \#1 \$callback of method Illuminate\\Support\\Collection\<\(int\|string\),mixed\>\:\:map\(\) expects callable\(mixed, int\|string\)\: array\{name\: string, description\: string, inputSchema\: array\{type\: 'object', properties\: array\<string, array\<string, mixed\>\>\|stdClass, required\: array\<int, string\>, additionalProperties\: false\}\}, Closure\(Prism\\Prism\\Tool\)\: array\{name\: string, description\: string, inputSchema\: array\{type\: 'object', properties\: array\<string, array\<string, mixed\>\>\|stdClass, required\: array\<int, string\>, additionalProperties\: false\}\} given\.$# (argument.type) in path /home/runner/work/laravel-loop/laravel-loop/src/McpHandler.php was not matched in reported errors.
|
phpstan:
src/Commands/LoopMcpCallCommand.php#L234
Cannot access offset 'type' on Prism\Prism\Contracts\Schema.
|
phpstan:
src/Commands/LoopMcpCallCommand.php#L233
Cannot access offset 'description' on Prism\Prism\Contracts\Schema.
|
phpstan:
src/Commands/LoopMcpCallCommand.php#L206
Cannot access offset 'type' on array{}|Prism\Prism\Contracts\Schema.
|
phpstan:
src/Commands/LoopMcpCallCommand.php#L205
Cannot access offset 'description' on array{}|Prism\Prism\Contracts\Schema.
|