We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 01a09e6 commit 1685f3eCopy full SHA for 1685f3e
tests/PHPStan/Analyser/nsrt/property-null-after-assignment.php renamed to tests/PHPStan/Analyser/nsrt/remember-non-nullable-property.php
@@ -1,6 +1,6 @@
1
<?php // lint >= 8.1
2
3
-namespace PropertyNullAfterAssignmentStrictTypesDisabled;
+namespace RememberNonNullablePropertyWhenStrictTypesDisabled;
4
5
use function PHPStan\Testing\assertNativeType;
6
use function PHPStan\Testing\assertType;
@@ -28,7 +28,7 @@ function getIntOrNull(): ?int {
28
29
30
class KeepsPropertyNonNullable2 {
31
- private readonly int|float $i;
+ private int|float $i;
32
33
public function __construct()
34
{
0 commit comments