Skip to content

Commit f0d2da4

Browse files
Fix test
1 parent 86c4e44 commit f0d2da4

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

src/Type/ObjectType.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
use PHPStan\Reflection\ExtendedMethodReflection;
2424
use PHPStan\Reflection\ExtendedPropertyReflection;
2525
use PHPStan\Reflection\Php\UniversalObjectCratesClassReflectionExtension;
26-
use PHPStan\Reflection\PropertyReflection;
2726
use PHPStan\Reflection\ReflectionProviderStaticAccessor;
2827
use PHPStan\Reflection\TrivialParametersAcceptor;
2928
use PHPStan\Reflection\Type\CallbackUnresolvedPropertyPrototypeReflection;

tests/PHPStan/Rules/Properties/TypesAssignedToPropertiesRuleTest.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,6 @@ public function testTypesAssignedToProperties(): void
4545
'Static property PropertiesAssignedTypes\Foo::$staticStringProperty (string) does not accept int.',
4646
37,
4747
],
48-
[
49-
'Property PropertiesAssignedTypes\Ipsum::$parentStringProperty (string) does not accept int.',
50-
39,
51-
],
5248
[
5349
'Property PropertiesAssignedTypes\Foo::$unionPropertySelf (array<PropertiesAssignedTypes\Foo>|(iterable<PropertiesAssignedTypes\Foo>&PropertiesAssignedTypes\Collection)) does not accept PropertiesAssignedTypes\Foo.',
5450
44,

0 commit comments

Comments
 (0)