Skip to content

Commit 7f93fd6

Browse files
committed
Resolve the "PhanTypeMismatchArgumentNullable" error detected by Phan
1 parent 4928c9f commit 7f93fd6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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)