From a07de641d3178b47b40be9228faf62c4e90c346a Mon Sep 17 00:00:00 2001 From: Atsushi Matsuo Date: Sat, 31 Jan 2026 11:48:03 +0900 Subject: [PATCH] Resolve the "INTERMediator\FileMakerServer\RESTAPI\Supporting\CommunicationProvider::getOAuthIdentifier() never returns string so it can be removed from the return type" error detected by PHPStan --- src/Supporting/CommunicationProvider.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Supporting/CommunicationProvider.php b/src/Supporting/CommunicationProvider.php index acc4c9f..029db1f 100644 --- a/src/Supporting/CommunicationProvider.php +++ b/src/Supporting/CommunicationProvider.php @@ -550,10 +550,10 @@ private function getSupportingProviders(): null|array /** * @param $provider - * @return string|array|null + * @return array|null * @ignore */ - private function getOAuthIdentifier($provider): string|array|null + private function getOAuthIdentifier($provider): array|null { try { $this->callRestAPI(