Merge pull request #10227 from tuqqu/non-variable-reference-return #11862
Annotations
10 errors
DocblockTypeContradiction:
src/Psalm/Internal/Analyzer/Statements/Expression/BinaryOp/ArithmeticOpAnalyzer.php#L629
src/Psalm/Internal/Analyzer/Statements/Expression/BinaryOp/ArithmeticOpAnalyzer.php:629:14: DocblockTypeContradiction: Cannot resolve types for $left_type_part - docblock-defined type Psalm\Type\Atomic\TArray|Psalm\Type\Atomic\TKeyedArray does not contain Psalm\Type\Atomic\TNamedObject (see https://psalm.dev/155)
|
DocblockTypeContradiction:
src/Psalm/Internal/Analyzer/Statements/Expression/BinaryOp/ArithmeticOpAnalyzer.php#L630
src/Psalm/Internal/Analyzer/Statements/Expression/BinaryOp/ArithmeticOpAnalyzer.php:630:17: DocblockTypeContradiction: Cannot resolve types for $right_type_part - docblock-defined type Psalm\Type\Atomic\TArray|Psalm\Type\Atomic\TKeyedArray does not contain Psalm\Type\Atomic\TNamedObject (see https://psalm.dev/155)
|
DocblockTypeContradiction:
src/Psalm/Internal/Analyzer/Statements/Expression/BinaryOp/ArithmeticOpAnalyzer.php#L632
src/Psalm/Internal/Analyzer/Statements/Expression/BinaryOp/ArithmeticOpAnalyzer.php:632:19: DocblockTypeContradiction: Cannot resolve types for $left_type_part - docblock-defined type Psalm\Type\Atomic\TArray|Psalm\Type\Atomic\TKeyedArray does not contain Psalm\Type\Atomic\TNamedObject (see https://psalm.dev/155)
|
DocblockTypeContradiction:
src/Psalm/Internal/Analyzer/Statements/Expression/BinaryOp/ArithmeticOpAnalyzer.php#L634
src/Psalm/Internal/Analyzer/Statements/Expression/BinaryOp/ArithmeticOpAnalyzer.php:634:26: DocblockTypeContradiction: Cannot resolve types for $right_type_part - docblock-defined type Psalm\Type\Atomic\TArray|Psalm\Type\Atomic\TKeyedArray does not contain Psalm\Type\Atomic\TNamedObject (see https://psalm.dev/155)
|
TypeDoesNotContainType:
src/Psalm/Internal/Analyzer/Statements/Expression/BinaryOp/ArithmeticOpAnalyzer.php#L636
src/Psalm/Internal/Analyzer/Statements/Expression/BinaryOp/ArithmeticOpAnalyzer.php:636:66: TypeDoesNotContainType: Cannot resolve types for $right_type_part - Psalm\Type\Atomic\TArray|Psalm\Type\Atomic\TKeyedArray does not contain Psalm\Type\Atomic\TMixed (see https://psalm.dev/056)
|
DocblockTypeContradiction:
src/Psalm/Internal/Analyzer/Statements/Expression/BinaryOp/ArithmeticOpAnalyzer.php#L637
src/Psalm/Internal/Analyzer/Statements/Expression/BinaryOp/ArithmeticOpAnalyzer.php:637:21: DocblockTypeContradiction: Cannot resolve types for $right_type_part - docblock-defined type Psalm\Type\Atomic\TArray|Psalm\Type\Atomic\TKeyedArray does not contain Psalm\Type\Atomic\TNamedObject (see https://psalm.dev/155)
|
DocblockTypeContradiction:
src/Psalm/Internal/Analyzer/Statements/Expression/BinaryOp/ArithmeticOpAnalyzer.php#L637
src/Psalm/Internal/Analyzer/Statements/Expression/BinaryOp/ArithmeticOpAnalyzer.php:637:22: DocblockTypeContradiction: Cannot resolve types for $right_type_part - docblock-defined type Psalm\Type\Atomic\TArray|Psalm\Type\Atomic\TKeyedArray does not contain Psalm\Type\Atomic\TNamedObject (see https://psalm.dev/155)
|
DocblockTypeContradiction:
src/Psalm/Internal/Analyzer/Statements/Expression/BinaryOp/ArithmeticOpAnalyzer.php#L639
src/Psalm/Internal/Analyzer/Statements/Expression/BinaryOp/ArithmeticOpAnalyzer.php:639:26: DocblockTypeContradiction: Cannot resolve types for $left_type_part - docblock-defined type Psalm\Type\Atomic\TArray|Psalm\Type\Atomic\TKeyedArray does not contain Psalm\Type\Atomic\TNamedObject (see https://psalm.dev/155)
|
TypeDoesNotContainType:
src/Psalm/Internal/Analyzer/Statements/Expression/BinaryOp/ArithmeticOpAnalyzer.php#L641
src/Psalm/Internal/Analyzer/Statements/Expression/BinaryOp/ArithmeticOpAnalyzer.php:641:65: TypeDoesNotContainType: Cannot resolve types for $left_type_part - Psalm\Type\Atomic\TArray|Psalm\Type\Atomic\TKeyedArray does not contain Psalm\Type\Atomic\TMixed (see https://psalm.dev/056)
|
DocblockTypeContradiction:
src/Psalm/Internal/Analyzer/Statements/Expression/BinaryOp/ArithmeticOpAnalyzer.php#L670
src/Psalm/Internal/Analyzer/Statements/Expression/BinaryOp/ArithmeticOpAnalyzer.php:670:17: DocblockTypeContradiction: Cannot resolve types for $left_type_part - docblock-defined type Psalm\Type\Atomic\TArray|Psalm\Type\Atomic\TKeyedArray does not contain Psalm\Type\Atomic\TNamedObject (see https://psalm.dev/155)
|