Skip to content

Conversation

@matsuo
Copy link
Contributor

@matsuo matsuo commented Jan 18, 2026

Resolved the following errors detected by Phan:

::error file=src/Supporting/FileMakerLayout.php,line=221,col=0::PhanTypeMismatchArgumentReal Argument 2 ($infoData) is null of type null but \INTERMediator\FileMakerServer\RESTAPI\Supporting\FileMakerRelation::__construct() takes array|object defined at src/Supporting/FileMakerRelation.php:72
::error file=src/Supporting/FileMakerLayout.php,line=271,col=0::PhanTypeMismatchArgumentNullable Argument 2 ($infoData) is $dataInfo of type ?object but \INTERMediator\FileMakerServer\RESTAPI\Supporting\FileMakerRelation::__construct() takes array|object defined at src/Supporting/FileMakerRelation.php:72 (expected type to be non-nullable)
::error file=src/Supporting/FileMakerRelation.php,line=273,col=0::PhanTypeMismatchArgumentNullable Argument 2 ($infoData) is $dataInfo of type ?object but \INTERMediator\FileMakerServer\RESTAPI\Supporting\FileMakerRelation::__construct() takes array|object defined at src/Supporting/FileMakerRelation.php:72 (expected type to be non-nullable)
::error file=src/Supporting/FileMakerRelation.php,line=553,col=0::PhanTypeMismatchArgumentNullable Argument 2 ($infoData) is $dataInfo of type ?object but \INTERMediator\FileMakerServer\RESTAPI\Supporting\FileMakerRelation::__construct() takes array|object defined at src/Supporting/FileMakerRelation.php:72 (expected type to be non-nullable)
% git log -1 | head -n 1
commit 4928c9f263290726efb4148fe13293eebc60913e
% ./vendor/bin/phan -v
Phan 6.0.0
php-ast version 1.1.3
PHP version used to run Phan: 8.4.17

@msyk msyk merged commit 89cf959 into msyk:master Jan 18, 2026
60 checks passed
@matsuo matsuo deleted the resolve-the-error-detected-by-phan branch January 18, 2026 06:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants