Skip to content

Commit 94b7929

Browse files
committed
simplify
1 parent 6ac44e4 commit 94b7929

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

tests/PHPStan/Parser/CachedParserTest.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -148,9 +148,7 @@ public function testWithExprCacheHelper(): void
148148

149149
$this->assertInstanceOf(Node\Stmt\Property::class, $class->stmts[0]);
150150
$property = $class->stmts[0];
151-
$this->assertInstanceOf(Node\AttributeGroup::class, $property->attrGroups[0]);
152151
$group = $property->attrGroups[0];
153-
$this->assertInstanceOf(Node\Attribute::class, $group->attrs[0]);
154152
$attribute = $group->attrs[0];
155153

156154
$expr = $attribute->args[0]->value;
@@ -161,9 +159,7 @@ public function testWithExprCacheHelper(): void
161159

162160
$this->assertInstanceOf(Node\Stmt\Property::class, $class->stmts[1]);
163161
$property = $class->stmts[1];
164-
$this->assertInstanceOf(Node\AttributeGroup::class, $property->attrGroups[0]);
165162
$group = $property->attrGroups[0];
166-
$this->assertInstanceOf(Node\Attribute::class, $group->attrs[0]);
167163
$attribute = $group->attrs[0];
168164

169165
$expr = $attribute->args[0]->value;

0 commit comments

Comments
 (0)