Add a return type to the AssetManager ignoreCache method #24
Annotations
10 errors
src/AssetFactory.php#L93
src/AssetFactory.php:93:13: RiskyTruthyFalsyComparison: Operand of type mixed|true contains type mixed, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
src/AssetManager.php#L261
src/AssetManager.php:261:13: RiskyTruthyFalsyComparison: Operand of type int|null contains type int, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
src/AssetManager.php#L317
src/AssetManager.php:317:13: 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)
|
src/Loader/AbstractWebpackLoader.php#L72
src/Loader/AbstractWebpackLoader.php:72:17: RiskyTruthyFalsyComparison: Operand of type false|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)
|
src/Loader/AbstractWebpackLoader.php#L186
src/Loader/AbstractWebpackLoader.php:186:13: RiskyTruthyFalsyComparison: Operand of type false|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)
|
src/Loader/AbstractWebpackLoader.php#L190
src/Loader/AbstractWebpackLoader.php:190:13: RiskyTruthyFalsyComparison: Operand of type false|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)
|
src/Loader/AbstractWebpackLoader.php#L194
src/Loader/AbstractWebpackLoader.php:194:13: RiskyTruthyFalsyComparison: Operand of type false|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)
|
src/Loader/AbstractWebpackLoader.php#L198
src/Loader/AbstractWebpackLoader.php:198:13: RiskyTruthyFalsyComparison: Operand of type false|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)
|
src/Loader/AbstractWebpackLoader.php#L202
src/Loader/AbstractWebpackLoader.php:202:13: RiskyTruthyFalsyComparison: Operand of type false|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)
|
src/OutputFilter/AsyncStyleOutputFilter.php#L42
src/OutputFilter/AsyncStyleOutputFilter.php:42:13: 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)
|
This job failed
Loading