-
Notifications
You must be signed in to change notification settings - Fork 0
/
examples.txt
4 lines (4 loc) · 1.03 KB
/
examples.txt
1
2
3
4
"ERROR: InvalidReturnStatement - 7:12 - The inferred type 'array{left: 'hello', right: int}' does not match the declared return type 'array{lefft: int, right: string}' for takesAnInt due to additional array shape fields (left)";
Argument 1 of iFixit\Shopify\ShopifyOrderService::isCancellableAppRefund expects 'array{note: string}', but 'array{note: string, refund_line_items: array<array-key, array{line_item: array{id: int}, quantity: int}>}' with additional array shape fields (refund_line_items) was provided.
Error: Tests/Objects/Extensions/TroubleshootingExtension.php:20:55: InvalidArgument: Argument 1 of WikiExtension::createCategory expects array{authorid?: int, category?: string, delete?: bool, langid?: string, namespace?: string, orphan?: bool, public?: bool, syncAlgolia?: bool, tags?: list<string>, text?: string, title?: string, title_prefix?: string}, but array{category?: string, namespace?: string, title?: string, ...<array-key, mixed>} provided (see https://psalm.dev/004)
array{category: string, namespace: string, title: string}