Make @property annotations PHPStan-compatible #38
Annotations
6 errors
|
Run Phan
Process completed with exit code 1.
|
|
Run Phan:
src/Supporting/FileMakerRelation.php#L554
PhanTypeMismatchArgument Argument 5 ($portalName) is $portalName of type \INTERMediator\FileMakerServer\RESTAPI\Supporting\FileMakerRelation|\Iterator|\Traversable|iterable but \INTERMediator\FileMakerServer\RESTAPI\Supporting\FileMakerRelation::__construct() takes null|string defined at src/Supporting/FileMakerRelation.php:72
|
|
Run Phan:
src/Supporting/FileMakerRelation.php#L425
PhanTypeSuspiciousStringExpression Suspicious type \INTERMediator\FileMakerServer\RESTAPI\Supporting\FileMakerRelation of a variable or expression $this->portalName used to build a string. (Expected type to be able to cast to a string)
|
|
Run Phan:
src/Supporting/FileMakerRelation.php#L274
PhanTypeMismatchArgument Argument 5 ($portalName) is $this->portalName of type \INTERMediator\FileMakerServer\RESTAPI\Supporting\FileMakerRelation|\Iterator|\Traversable|iterable but \INTERMediator\FileMakerServer\RESTAPI\Supporting\FileMakerRelation::__construct() takes null|string defined at src/Supporting/FileMakerRelation.php:72
|
|
Run Phan:
src/Supporting/FileMakerRelation.php#L155
PhanTypeMismatchPropertyProbablyReal Assigning $name of type string to property but \INTERMediator\FileMakerServer\RESTAPI\Supporting\FileMakerRelation->portalName is \INTERMediator\FileMakerServer\RESTAPI\Supporting\FileMakerRelation (no real type) (the inferred real assigned type has nothing in common with the declared phpdoc property type)
|
|
Run Phan:
src/Supporting/FileMakerRelation.php#L83
PhanTypeMismatchPropertyProbablyReal Assigning $portalName of type null|string to property but \INTERMediator\FileMakerServer\RESTAPI\Supporting\FileMakerRelation->portalName is \INTERMediator\FileMakerServer\RESTAPI\Supporting\FileMakerRelation (no real type) (the inferred real assigned type has nothing in common with the declared phpdoc property type)
|