Skip to content

Commit f0a6296

Browse files
committed
ReadWritePropertiesExtension - use ExtendedPropertyReflection in parameter type
1 parent d1d7d4a commit f0a6296

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Diff for: src/Rules/Properties/ReadWritePropertiesExtension.php

+4-4
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
namespace PHPStan\Rules\Properties;
44

5-
use PHPStan\Reflection\PropertyReflection;
5+
use PHPStan\Reflection\ExtendedPropertyReflection;
66

77
/**
88
* This is the extension interface to implement if you want to describe
@@ -25,10 +25,10 @@
2525
interface ReadWritePropertiesExtension
2626
{
2727

28-
public function isAlwaysRead(PropertyReflection $property, string $propertyName): bool;
28+
public function isAlwaysRead(ExtendedPropertyReflection $property, string $propertyName): bool;
2929

30-
public function isAlwaysWritten(PropertyReflection $property, string $propertyName): bool;
30+
public function isAlwaysWritten(ExtendedPropertyReflection $property, string $propertyName): bool;
3131

32-
public function isInitialized(PropertyReflection $property, string $propertyName): bool;
32+
public function isInitialized(ExtendedPropertyReflection $property, string $propertyName): bool;
3333

3434
}

0 commit comments

Comments
 (0)