Skip to content

When inside isset, make array fetch result nullable #12953

When inside isset, make array fetch result nullable

When inside isset, make array fetch result nullable #12953

Triggered via pull request March 4, 2024 08:39
Status Failure
Total duration 1m 5s
Artifacts

shepherd.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

2 errors
RiskyTruthyFalsyComparison: src/Psalm/Internal/PhpVisitor/Reflector/FunctionLikeDocblockParser.php#L429
src/Psalm/Internal/PhpVisitor/Reflector/FunctionLikeDocblockParser.php:429:22: RiskyTruthyFalsyComparison: Operand of type null|string contains type string, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
build
Process completed with exit code 2.