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 168e2c2 commit d4a8286Copy full SHA for d4a8286
Tests/VariableAnalysisSniff/fixtures/AnonymousClassWithPropertiesFixture.php
@@ -44,15 +44,15 @@ public function methodWithStaticVar() {
44
45
class ClassWithAnonymousClassAndTypeHints
46
{
47
- int $main_id = 1;
+ readonly int $main_id;
48
public int $id = 1;
49
public \My\Data|bool $data;
50
51
public function test_1(): object
52
53
return new class
54
55
56
public int $id = 123456;
57
58
};
0 commit comments