From 2241668940d664ac1bef97991971670cde0f99de Mon Sep 17 00:00:00 2001 From: Takayasu Oyama Date: Tue, 17 Dec 2024 09:41:45 +0900 Subject: [PATCH] fix stan error --- phpstan.neon | 3 +++ 1 file changed, 3 insertions(+) diff --git a/phpstan.neon b/phpstan.neon index a796e24..bbfce75 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -13,6 +13,9 @@ parameters: path: src/Connection.php - message: '#^Method Colopl\\Spanner\\Connection::selectWithOptions\(\) should return array but returns mixed\.$#' path: src/Connection.php + - message: "#^Method Colopl\\\\Spanner\\\\Connection\\:\\:cursor\\(\\) should return Generator\\ but returns Generator\\\\.$#" + path: src/Connection.php + count: 1 - message: '#^Generator expects value type array, mixed given.$#' path: src/Connection.php count: 1