Skip to content

Commit de1ad88

Browse files
authored
Merge pull request #144 from matsuo/update-communication-provider
Resolve the "INTERMediator\FileMakerServer\RESTAPI\Supporting\CommunicationProvider::getOAuthIdentifier() never returns string so it can be removed from the return type" error detected by PHPStan
2 parents 89aeaac + a07de64 commit de1ad88

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/Supporting/CommunicationProvider.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -550,10 +550,10 @@ private function getSupportingProviders(): null|array
550550

551551
/**
552552
* @param $provider
553-
* @return string|array|null
553+
* @return array|null
554554
* @ignore
555555
*/
556-
private function getOAuthIdentifier($provider): string|array|null
556+
private function getOAuthIdentifier($provider): array|null
557557
{
558558
try {
559559
$this->callRestAPI(

0 commit comments

Comments
 (0)