Skip to content

Implement TypeSpecifierContext->getReturnType() #20228

Implement TypeSpecifierContext->getReturnType()

Implement TypeSpecifierContext->getReturnType() #20228

Triggered via pull request March 13, 2025 15:41
Status Failure
Total duration 3m 21s
Artifacts

static-analysis.yml

on: pull_request
Generate baseline
1m 28s
Generate baseline
Generate PHP baseline
1m 26s
Generate PHP baseline
Matrix: PHPStan with result cache
Matrix: PHPStan
Fit to window
Zoom out
Zoom in

Annotations

161 errors
PHPStan (8.2, ubuntu-latest): src/PhpDoc/TypeNodeResolver.php#L833
Offset 0 on non-empty-list<non-empty-string> on left side of ?? always exists and is not nullable.
PHPStan (8.2, ubuntu-latest): src/PhpDoc/TypeNodeResolver.php#L835
Strict comparison using !== between non-empty-string and null will always evaluate to true.
PHPStan (8.2, ubuntu-latest): src/PhpDoc/TypeNodeResolver.php#L922
Strict comparison using !== between class-string and null will always evaluate to true.
PHPStan (8.2, ubuntu-latest): src/PhpDoc/TypeNodeResolver.php#L945
Strict comparison using !== between class-string and null will always evaluate to true.
PHPStan (8.2, ubuntu-latest): src/PhpDoc/TypeNodeResolver.php#L951
Strict comparison using !== between class-string and null will always evaluate to true.
PHPStan (8.2, ubuntu-latest): src/PhpDoc/TypeNodeResolver.php#L955
Unreachable statement - code above always terminates.
PHPStan (8.2, ubuntu-latest): src/Reflection/InitializerExprTypeResolver.php#L1923
Strict comparison using === between non-empty-list<non-empty-string> and array{} will always evaluate to false.
PHPStan (8.2, ubuntu-latest): src/Reflection/InitializerExprTypeResolver.php#L1928
Strict comparison using !== between non-empty-list<non-empty-string> and array{} will always evaluate to true.
PHPStan (8.2, ubuntu-latest): src/Type/ObjectType.php#L310
Strict comparison using === between non-empty-list<non-empty-string> and array{} will always evaluate to false.
PHPStan (8.1, ubuntu-latest): src/PhpDoc/TypeNodeResolver.php#L833
Offset 0 on non-empty-list<non-empty-string> on left side of ?? always exists and is not nullable.
PHPStan (8.1, ubuntu-latest): src/PhpDoc/TypeNodeResolver.php#L835
Strict comparison using !== between non-empty-string and null will always evaluate to true.
PHPStan (8.1, ubuntu-latest): src/PhpDoc/TypeNodeResolver.php#L922
Strict comparison using !== between class-string and null will always evaluate to true.
PHPStan (8.1, ubuntu-latest): src/PhpDoc/TypeNodeResolver.php#L945
Strict comparison using !== between class-string and null will always evaluate to true.
PHPStan (8.1, ubuntu-latest): src/PhpDoc/TypeNodeResolver.php#L951
Strict comparison using !== between class-string and null will always evaluate to true.
PHPStan (8.1, ubuntu-latest): src/PhpDoc/TypeNodeResolver.php#L955
Unreachable statement - code above always terminates.
PHPStan (8.1, ubuntu-latest): src/Reflection/InitializerExprTypeResolver.php#L1923
Strict comparison using === between non-empty-list<non-empty-string> and array{} will always evaluate to false.
PHPStan (8.1, ubuntu-latest): src/Reflection/InitializerExprTypeResolver.php#L1928
Strict comparison using !== between non-empty-list<non-empty-string> and array{} will always evaluate to true.
PHPStan (8.1, ubuntu-latest): src/Type/ObjectType.php#L310
Strict comparison using === between non-empty-list<non-empty-string> and array{} will always evaluate to false.
PHPStan with result cache (8.1): src/PhpDoc/TypeNodeResolver.php#L833
Offset 0 on non-empty-list<non-empty-string> on left side of ?? always exists and is not nullable.
PHPStan with result cache (8.1): src/PhpDoc/TypeNodeResolver.php#L835
Strict comparison using !== between non-empty-string and null will always evaluate to true.
PHPStan with result cache (8.1): src/PhpDoc/TypeNodeResolver.php#L922
Strict comparison using !== between class-string and null will always evaluate to true.
PHPStan with result cache (8.1): src/PhpDoc/TypeNodeResolver.php#L945
Strict comparison using !== between class-string and null will always evaluate to true.
PHPStan with result cache (8.1): src/PhpDoc/TypeNodeResolver.php#L951
Strict comparison using !== between class-string and null will always evaluate to true.
PHPStan with result cache (8.1): src/PhpDoc/TypeNodeResolver.php#L955
Unreachable statement - code above always terminates.
PHPStan with result cache (8.1): src/Reflection/InitializerExprTypeResolver.php#L1923
Strict comparison using === between non-empty-list<non-empty-string> and array{} will always evaluate to false.
PHPStan with result cache (8.1): src/Reflection/InitializerExprTypeResolver.php#L1928
Strict comparison using !== between non-empty-list<non-empty-string> and array{} will always evaluate to true.
PHPStan with result cache (8.1): src/Type/ObjectType.php#L310
Strict comparison using === between non-empty-list<non-empty-string> and array{} will always evaluate to false.
PHPStan with result cache (8.3): src/PhpDoc/TypeNodeResolver.php#L833
Offset 0 on non-empty-list<non-empty-string> on left side of ?? always exists and is not nullable.
PHPStan with result cache (8.3): src/PhpDoc/TypeNodeResolver.php#L835
Strict comparison using !== between non-empty-string and null will always evaluate to true.
PHPStan with result cache (8.3): src/PhpDoc/TypeNodeResolver.php#L922
Strict comparison using !== between class-string and null will always evaluate to true.
PHPStan with result cache (8.3): src/PhpDoc/TypeNodeResolver.php#L945
Strict comparison using !== between class-string and null will always evaluate to true.
PHPStan with result cache (8.3): src/PhpDoc/TypeNodeResolver.php#L951
Strict comparison using !== between class-string and null will always evaluate to true.
PHPStan with result cache (8.3): src/PhpDoc/TypeNodeResolver.php#L955
Unreachable statement - code above always terminates.
PHPStan with result cache (8.3): src/Reflection/InitializerExprTypeResolver.php#L1923
Strict comparison using === between non-empty-list<non-empty-string> and array{} will always evaluate to false.
PHPStan with result cache (8.3): src/Reflection/InitializerExprTypeResolver.php#L1928
Strict comparison using !== between non-empty-list<non-empty-string> and array{} will always evaluate to true.
PHPStan with result cache (8.3): src/Type/ObjectType.php#L310
Strict comparison using === between non-empty-list<non-empty-string> and array{} will always evaluate to false.
Generate baseline
Process completed with exit code 1.
PHPStan with result cache (8.4): src/PhpDoc/TypeNodeResolver.php#L833
Offset 0 on non-empty-list<non-empty-string> on left side of ?? always exists and is not nullable.
PHPStan with result cache (8.4): src/PhpDoc/TypeNodeResolver.php#L835
Strict comparison using !== between non-empty-string and null will always evaluate to true.
PHPStan with result cache (8.4): src/PhpDoc/TypeNodeResolver.php#L922
Strict comparison using !== between class-string and null will always evaluate to true.
PHPStan with result cache (8.4): src/PhpDoc/TypeNodeResolver.php#L945
Strict comparison using !== between class-string and null will always evaluate to true.
PHPStan with result cache (8.4): src/PhpDoc/TypeNodeResolver.php#L951
Strict comparison using !== between class-string and null will always evaluate to true.
PHPStan with result cache (8.4): src/PhpDoc/TypeNodeResolver.php#L955
Unreachable statement - code above always terminates.
PHPStan with result cache (8.4): src/Reflection/InitializerExprTypeResolver.php#L1923
Strict comparison using === between non-empty-list<non-empty-string> and array{} will always evaluate to false.
PHPStan with result cache (8.4): src/Reflection/InitializerExprTypeResolver.php#L1928
Strict comparison using !== between non-empty-list<non-empty-string> and array{} will always evaluate to true.
PHPStan with result cache (8.4): src/Type/ObjectType.php#L310
Strict comparison using === between non-empty-list<non-empty-string> and array{} will always evaluate to false.
PHPStan (8.0, ubuntu-latest): src/PhpDoc/TypeNodeResolver.php#L833
Offset 0 on non-empty-list<non-empty-string> on left side of ?? always exists and is not nullable.
PHPStan (8.0, ubuntu-latest): src/PhpDoc/TypeNodeResolver.php#L835
Strict comparison using !== between non-empty-string and null will always evaluate to true.
PHPStan (8.0, ubuntu-latest): src/PhpDoc/TypeNodeResolver.php#L922
Strict comparison using !== between class-string and null will always evaluate to true.
PHPStan (8.0, ubuntu-latest): src/PhpDoc/TypeNodeResolver.php#L945
Strict comparison using !== between class-string and null will always evaluate to true.
PHPStan (8.0, ubuntu-latest): src/PhpDoc/TypeNodeResolver.php#L951
Strict comparison using !== between class-string and null will always evaluate to true.
PHPStan (8.0, ubuntu-latest): src/PhpDoc/TypeNodeResolver.php#L955
Unreachable statement - code above always terminates.
PHPStan (8.0, ubuntu-latest): src/Reflection/InitializerExprTypeResolver.php#L1923
Strict comparison using === between non-empty-list<non-empty-string> and array{} will always evaluate to false.
PHPStan (8.0, ubuntu-latest): src/Reflection/InitializerExprTypeResolver.php#L1928
Strict comparison using !== between non-empty-list<non-empty-string> and array{} will always evaluate to true.
PHPStan (8.0, ubuntu-latest): src/Type/ObjectType.php#L310
Strict comparison using === between non-empty-list<non-empty-string> and array{} will always evaluate to false.
PHPStan (8.3, ubuntu-latest): src/PhpDoc/TypeNodeResolver.php#L833
Offset 0 on non-empty-list<non-empty-string> on left side of ?? always exists and is not nullable.
PHPStan (8.3, ubuntu-latest): src/PhpDoc/TypeNodeResolver.php#L835
Strict comparison using !== between non-empty-string and null will always evaluate to true.
PHPStan (8.3, ubuntu-latest): src/PhpDoc/TypeNodeResolver.php#L922
Strict comparison using !== between class-string and null will always evaluate to true.
PHPStan (8.3, ubuntu-latest): src/PhpDoc/TypeNodeResolver.php#L945
Strict comparison using !== between class-string and null will always evaluate to true.
PHPStan (8.3, ubuntu-latest): src/PhpDoc/TypeNodeResolver.php#L951
Strict comparison using !== between class-string and null will always evaluate to true.
PHPStan (8.3, ubuntu-latest): src/PhpDoc/TypeNodeResolver.php#L955
Unreachable statement - code above always terminates.
PHPStan (8.3, ubuntu-latest): src/Reflection/InitializerExprTypeResolver.php#L1923
Strict comparison using === between non-empty-list<non-empty-string> and array{} will always evaluate to false.
PHPStan (8.3, ubuntu-latest): src/Reflection/InitializerExprTypeResolver.php#L1928
Strict comparison using !== between non-empty-list<non-empty-string> and array{} will always evaluate to true.
PHPStan (8.3, ubuntu-latest): src/Type/ObjectType.php#L310
Strict comparison using === between non-empty-list<non-empty-string> and array{} will always evaluate to false.
PHPStan (8.4, ubuntu-latest): src/PhpDoc/TypeNodeResolver.php#L833
Offset 0 on non-empty-list<non-empty-string> on left side of ?? always exists and is not nullable.
PHPStan (8.4, ubuntu-latest): src/PhpDoc/TypeNodeResolver.php#L835
Strict comparison using !== between non-empty-string and null will always evaluate to true.
PHPStan (8.4, ubuntu-latest): src/PhpDoc/TypeNodeResolver.php#L922
Strict comparison using !== between class-string and null will always evaluate to true.
PHPStan (8.4, ubuntu-latest): src/PhpDoc/TypeNodeResolver.php#L945
Strict comparison using !== between class-string and null will always evaluate to true.
PHPStan (8.4, ubuntu-latest): src/PhpDoc/TypeNodeResolver.php#L951
Strict comparison using !== between class-string and null will always evaluate to true.
PHPStan (8.4, ubuntu-latest): src/PhpDoc/TypeNodeResolver.php#L955
Unreachable statement - code above always terminates.
PHPStan (8.4, ubuntu-latest): src/Reflection/InitializerExprTypeResolver.php#L1923
Strict comparison using === between non-empty-list<non-empty-string> and array{} will always evaluate to false.
PHPStan (8.4, ubuntu-latest): src/Reflection/InitializerExprTypeResolver.php#L1928
Strict comparison using !== between non-empty-list<non-empty-string> and array{} will always evaluate to true.
PHPStan (8.4, ubuntu-latest): src/Type/ObjectType.php#L310
Strict comparison using === between non-empty-list<non-empty-string> and array{} will always evaluate to false.
PHPStan with result cache (8.2): src/PhpDoc/TypeNodeResolver.php#L833
Offset 0 on non-empty-list<non-empty-string> on left side of ?? always exists and is not nullable.
PHPStan with result cache (8.2): src/PhpDoc/TypeNodeResolver.php#L835
Strict comparison using !== between non-empty-string and null will always evaluate to true.
PHPStan with result cache (8.2): src/PhpDoc/TypeNodeResolver.php#L922
Strict comparison using !== between class-string and null will always evaluate to true.
PHPStan with result cache (8.2): src/PhpDoc/TypeNodeResolver.php#L945
Strict comparison using !== between class-string and null will always evaluate to true.
PHPStan with result cache (8.2): src/PhpDoc/TypeNodeResolver.php#L951
Strict comparison using !== between class-string and null will always evaluate to true.
PHPStan with result cache (8.2): src/PhpDoc/TypeNodeResolver.php#L955
Unreachable statement - code above always terminates.
PHPStan with result cache (8.2): src/Reflection/InitializerExprTypeResolver.php#L1923
Strict comparison using === between non-empty-list<non-empty-string> and array{} will always evaluate to false.
PHPStan with result cache (8.2): src/Reflection/InitializerExprTypeResolver.php#L1928
Strict comparison using !== between non-empty-list<non-empty-string> and array{} will always evaluate to true.
PHPStan with result cache (8.2): src/Type/ObjectType.php#L310
Strict comparison using === between non-empty-list<non-empty-string> and array{} will always evaluate to false.
PHPStan (7.4, ubuntu-latest): src/PhpDoc/TypeNodeResolver.php#L837
Offset 0 on non-empty-list<non-empty-string> on left side of ?? always exists and is not nullable.
PHPStan (7.4, ubuntu-latest): src/PhpDoc/TypeNodeResolver.php#L839
Strict comparison using !== between non-empty-string and null will always evaluate to true.
PHPStan (7.4, ubuntu-latest): src/PhpDoc/TypeNodeResolver.php#L926
Strict comparison using !== between class-string and null will always evaluate to true.
PHPStan (7.4, ubuntu-latest): src/PhpDoc/TypeNodeResolver.php#L949
Strict comparison using !== between class-string and null will always evaluate to true.
PHPStan (7.4, ubuntu-latest): src/PhpDoc/TypeNodeResolver.php#L955
Strict comparison using !== between class-string and null will always evaluate to true.
PHPStan (7.4, ubuntu-latest): src/PhpDoc/TypeNodeResolver.php#L959
Unreachable statement - code above always terminates.
PHPStan (7.4, ubuntu-latest): src/Reflection/InitializerExprTypeResolver.php#L1929
Strict comparison using === between non-empty-list<non-empty-string> and array{} will always evaluate to false.
PHPStan (7.4, ubuntu-latest): src/Reflection/InitializerExprTypeResolver.php#L1934
Strict comparison using !== between non-empty-list<non-empty-string> and array{} will always evaluate to true.
PHPStan (7.4, ubuntu-latest): src/Type/ObjectType.php#L309
Strict comparison using === between non-empty-list<non-empty-string> and array{} will always evaluate to false.
PHPStan (8.2, windows-latest): src/PhpDoc/TypeNodeResolver.php#L833
Offset 0 on non-empty-list<non-empty-string> on left side of ?? always exists and is not nullable.
PHPStan (8.2, windows-latest): src/PhpDoc/TypeNodeResolver.php#L835
Strict comparison using !== between non-empty-string and null will always evaluate to true.
PHPStan (8.2, windows-latest): src/PhpDoc/TypeNodeResolver.php#L922
Strict comparison using !== between class-string and null will always evaluate to true.
PHPStan (8.2, windows-latest): src/PhpDoc/TypeNodeResolver.php#L945
Strict comparison using !== between class-string and null will always evaluate to true.
PHPStan (8.2, windows-latest): src/PhpDoc/TypeNodeResolver.php#L951
Strict comparison using !== between class-string and null will always evaluate to true.
PHPStan (8.2, windows-latest): src/PhpDoc/TypeNodeResolver.php#L955
Unreachable statement - code above always terminates.
PHPStan (8.2, windows-latest): src/Reflection/InitializerExprTypeResolver.php#L1923
Strict comparison using === between non-empty-list<non-empty-string> and array{} will always evaluate to false.
PHPStan (8.2, windows-latest): src/Reflection/InitializerExprTypeResolver.php#L1928
Strict comparison using !== between non-empty-list<non-empty-string> and array{} will always evaluate to true.
PHPStan (8.2, windows-latest): src/Type/ObjectType.php#L310
Strict comparison using === between non-empty-list<non-empty-string> and array{} will always evaluate to false.
PHPStan (8.4, windows-latest): src/PhpDoc/TypeNodeResolver.php#L833
Offset 0 on non-empty-list<non-empty-string> on left side of ?? always exists and is not nullable.
PHPStan (8.4, windows-latest): src/PhpDoc/TypeNodeResolver.php#L835
Strict comparison using !== between non-empty-string and null will always evaluate to true.
PHPStan (8.4, windows-latest): src/PhpDoc/TypeNodeResolver.php#L922
Strict comparison using !== between class-string and null will always evaluate to true.
PHPStan (8.4, windows-latest): src/PhpDoc/TypeNodeResolver.php#L945
Strict comparison using !== between class-string and null will always evaluate to true.
PHPStan (8.4, windows-latest): src/PhpDoc/TypeNodeResolver.php#L951
Strict comparison using !== between class-string and null will always evaluate to true.
PHPStan (8.4, windows-latest): src/PhpDoc/TypeNodeResolver.php#L955
Unreachable statement - code above always terminates.
PHPStan (8.4, windows-latest): src/Reflection/InitializerExprTypeResolver.php#L1923
Strict comparison using === between non-empty-list<non-empty-string> and array{} will always evaluate to false.
PHPStan (8.4, windows-latest): src/Reflection/InitializerExprTypeResolver.php#L1928
Strict comparison using !== between non-empty-list<non-empty-string> and array{} will always evaluate to true.
PHPStan (8.4, windows-latest): src/Type/ObjectType.php#L310
Strict comparison using === between non-empty-list<non-empty-string> and array{} will always evaluate to false.
PHPStan (8.3, windows-latest): src/PhpDoc/TypeNodeResolver.php#L833
Offset 0 on non-empty-list<non-empty-string> on left side of ?? always exists and is not nullable.
PHPStan (8.3, windows-latest): src/PhpDoc/TypeNodeResolver.php#L835
Strict comparison using !== between non-empty-string and null will always evaluate to true.
PHPStan (8.3, windows-latest): src/PhpDoc/TypeNodeResolver.php#L922
Strict comparison using !== between class-string and null will always evaluate to true.
PHPStan (8.3, windows-latest): src/PhpDoc/TypeNodeResolver.php#L945
Strict comparison using !== between class-string and null will always evaluate to true.
PHPStan (8.3, windows-latest): src/PhpDoc/TypeNodeResolver.php#L951
Strict comparison using !== between class-string and null will always evaluate to true.
PHPStan (8.3, windows-latest): src/PhpDoc/TypeNodeResolver.php#L955
Unreachable statement - code above always terminates.
PHPStan (8.3, windows-latest): src/Reflection/InitializerExprTypeResolver.php#L1923
Strict comparison using === between non-empty-list<non-empty-string> and array{} will always evaluate to false.
PHPStan (8.3, windows-latest): src/Reflection/InitializerExprTypeResolver.php#L1928
Strict comparison using !== between non-empty-list<non-empty-string> and array{} will always evaluate to true.
PHPStan (8.3, windows-latest): src/Type/ObjectType.php#L310
Strict comparison using === between non-empty-list<non-empty-string> and array{} will always evaluate to false.
PHPStan (8.1, windows-latest): src/PhpDoc/TypeNodeResolver.php#L833
Offset 0 on non-empty-list<non-empty-string> on left side of ?? always exists and is not nullable.
PHPStan (8.1, windows-latest): src/PhpDoc/TypeNodeResolver.php#L835
Strict comparison using !== between non-empty-string and null will always evaluate to true.
PHPStan (8.1, windows-latest): src/PhpDoc/TypeNodeResolver.php#L922
Strict comparison using !== between class-string and null will always evaluate to true.
PHPStan (8.1, windows-latest): src/PhpDoc/TypeNodeResolver.php#L945
Strict comparison using !== between class-string and null will always evaluate to true.
PHPStan (8.1, windows-latest): src/PhpDoc/TypeNodeResolver.php#L951
Strict comparison using !== between class-string and null will always evaluate to true.
PHPStan (8.1, windows-latest): src/PhpDoc/TypeNodeResolver.php#L955
Unreachable statement - code above always terminates.
PHPStan (8.1, windows-latest): src/Reflection/InitializerExprTypeResolver.php#L1923
Strict comparison using === between non-empty-list<non-empty-string> and array{} will always evaluate to false.
PHPStan (8.1, windows-latest): src/Reflection/InitializerExprTypeResolver.php#L1928
Strict comparison using !== between non-empty-list<non-empty-string> and array{} will always evaluate to true.
PHPStan (8.1, windows-latest): src/Type/ObjectType.php#L310
Strict comparison using === between non-empty-list<non-empty-string> and array{} will always evaluate to false.
PHPStan (8.0, windows-latest): src/PhpDoc/TypeNodeResolver.php#L833
Offset 0 on non-empty-list<non-empty-string> on left side of ?? always exists and is not nullable.
PHPStan (8.0, windows-latest): src/PhpDoc/TypeNodeResolver.php#L835
Strict comparison using !== between non-empty-string and null will always evaluate to true.
PHPStan (8.0, windows-latest): src/PhpDoc/TypeNodeResolver.php#L922
Strict comparison using !== between class-string and null will always evaluate to true.
PHPStan (8.0, windows-latest): src/PhpDoc/TypeNodeResolver.php#L945
Strict comparison using !== between class-string and null will always evaluate to true.
PHPStan (8.0, windows-latest): src/PhpDoc/TypeNodeResolver.php#L951
Strict comparison using !== between class-string and null will always evaluate to true.
PHPStan (8.0, windows-latest): src/PhpDoc/TypeNodeResolver.php#L955
Unreachable statement - code above always terminates.
PHPStan (8.0, windows-latest): src/Reflection/InitializerExprTypeResolver.php#L1923
Strict comparison using === between non-empty-list<non-empty-string> and array{} will always evaluate to false.
PHPStan (8.0, windows-latest): src/Reflection/InitializerExprTypeResolver.php#L1928
Strict comparison using !== between non-empty-list<non-empty-string> and array{} will always evaluate to true.
PHPStan (8.0, windows-latest): src/Type/ObjectType.php#L310
Strict comparison using === between non-empty-list<non-empty-string> and array{} will always evaluate to false.
PHPStan (7.4, windows-latest): src/PhpDoc/TypeNodeResolver.php#L837
Offset 0 on non-empty-list<non-empty-string> on left side of ?? always exists and is not nullable.
PHPStan (7.4, windows-latest): src/PhpDoc/TypeNodeResolver.php#L839
Strict comparison using !== between non-empty-string and null will always evaluate to true.
PHPStan (7.4, windows-latest): src/PhpDoc/TypeNodeResolver.php#L926
Strict comparison using !== between class-string and null will always evaluate to true.
PHPStan (7.4, windows-latest): src/PhpDoc/TypeNodeResolver.php#L949
Strict comparison using !== between class-string and null will always evaluate to true.
PHPStan (7.4, windows-latest): src/PhpDoc/TypeNodeResolver.php#L955
Strict comparison using !== between class-string and null will always evaluate to true.
PHPStan (7.4, windows-latest): src/PhpDoc/TypeNodeResolver.php#L959
Unreachable statement - code above always terminates.
PHPStan (7.4, windows-latest): src/Reflection/InitializerExprTypeResolver.php#L1929
Strict comparison using === between non-empty-list<non-empty-string> and array{} will always evaluate to false.
PHPStan (7.4, windows-latest): src/Reflection/InitializerExprTypeResolver.php#L1934
Strict comparison using !== between non-empty-list<non-empty-string> and array{} will always evaluate to true.
PHPStan (7.4, windows-latest): src/Type/ObjectType.php#L309
Strict comparison using === between non-empty-list<non-empty-string> and array{} will always evaluate to false.