Skip to content

Commit 89cf959

Browse files
authored
Merge pull request #141 from matsuo/resolve-the-error-detected-by-phan
Resolve some of the "PhanTypeMismatchArgumentNullable" errors detected by Phan
2 parents 4928c9f + 7f93fd6 commit 89cf959

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/Supporting/FileMakerRelation.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ class FileMakerRelation implements Iterator
6161
* FileMakerRelation constructor.
6262
*
6363
* @param array<object> $responseData
64-
* @param object|array $infoData
64+
* @param object|array|null $infoData
6565
* @param string $result
6666
* @param int $errorCode
6767
* @param string|null $portalName
@@ -70,7 +70,7 @@ class FileMakerRelation implements Iterator
7070
* @ignore
7171
*/
7272
public function __construct(array|object $responseData,
73-
object|array $infoData,
73+
object|array|null $infoData,
7474
string $result = "PORTAL",
7575
int $errorCode = 0,
7676
string|null $portalName = null,

0 commit comments

Comments
 (0)