File tree Expand file tree Collapse file tree 2 files changed +3
-9
lines changed
Expand file tree Collapse file tree 2 files changed +3
-9
lines changed Original file line number Diff line number Diff line change @@ -411,12 +411,6 @@ parameters:
411411 count : 1
412412 path : src/Reflection/ClassReflection.php
413413
414- -
415- rawMessage : ' Method PHPStan\Reflection\ClassReflection::getCacheKey() should return string but returns string|null.'
416- identifier : return.type
417- count : 1
418- path : src/Reflection/ClassReflection.php
419-
420414 -
421415 rawMessage : Binary operation "&" between bool|float|int|string|null and bool|float|int|string|null results in an error.
422416 identifier : binaryOp.invalid
Original file line number Diff line number Diff line change @@ -6121,9 +6121,9 @@ private function processAssignVar(
61216121
61226122 $ astNode = match ($ falseyScalar ) {
61236123 null => new ConstFetch (new Name ('null ' )),
6124- false => new ConstFetch (new Name ('false ' )),
6125- 0 => new Node \Scalar \Int_ ($ falseyScalar ),
6126- 0.0 => new Node \Scalar \Float_ ($ falseyScalar ),
6124+ false => new ConstFetch (new Name ('false ' )),
6125+ 0 => new Node \Scalar \Int_ ($ falseyScalar ),
6126+ 0.0 => new Node \Scalar \Float_ ($ falseyScalar ),
61276127 '' , '0 ' => new Node \Scalar \String_ ($ falseyScalar ),
61286128 [] => new Node \Expr \Array_ ($ falseyScalar ),
61296129 };
You can’t perform that action at this time.
0 commit comments