InvalidOperand when comparing objects of different shape #13248
Annotations
4 errors
Run Psalm:
src/Psalm/Internal/Analyzer/Statements/Expression/BinaryOpAnalyzer.php#L276
src/Psalm/Internal/Analyzer/Statements/Expression/BinaryOpAnalyzer.php:276:39: PossiblyNullReference: Cannot call method hasObjectType on possibly null value (see https://psalm.dev/083)
|
Run Psalm:
src/Psalm/Internal/Analyzer/Statements/Expression/BinaryOpAnalyzer.php#L276
src/Psalm/Internal/Analyzer/Statements/Expression/BinaryOpAnalyzer.php:276:76: PossiblyNullReference: Cannot call method hasObjectType on possibly null value (see https://psalm.dev/083)
|
Run Psalm:
src/Psalm/Internal/Analyzer/Statements/Expression/BinaryOpAnalyzer.php#L278
src/Psalm/Internal/Analyzer/Statements/Expression/BinaryOpAnalyzer.php:278:89: PossiblyNullArgument: Argument 3 of Psalm\Internal\Type\Comparator\UnionTypeComparator::isContainedBy cannot be null, possibly null value provided (see https://psalm.dev/078)
|
Run Psalm
Process completed with exit code 2.
|
Loading