Skip to content

Commit

Permalink
ReadWritePropertiesExtension - use ExtendedPropertyReflection in para…
Browse files Browse the repository at this point in the history
…meter type
  • Loading branch information
ondrejmirtes committed Sep 30, 2024
1 parent d1d7d4a commit f0a6296
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Rules/Properties/ReadWritePropertiesExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace PHPStan\Rules\Properties;

use PHPStan\Reflection\PropertyReflection;
use PHPStan\Reflection\ExtendedPropertyReflection;

/**
* This is the extension interface to implement if you want to describe
Expand All @@ -25,10 +25,10 @@
interface ReadWritePropertiesExtension
{

public function isAlwaysRead(PropertyReflection $property, string $propertyName): bool;
public function isAlwaysRead(ExtendedPropertyReflection $property, string $propertyName): bool;

public function isAlwaysWritten(PropertyReflection $property, string $propertyName): bool;
public function isAlwaysWritten(ExtendedPropertyReflection $property, string $propertyName): bool;

public function isInitialized(PropertyReflection $property, string $propertyName): bool;
public function isInitialized(ExtendedPropertyReflection $property, string $propertyName): bool;

}

0 comments on commit f0a6296

Please sign in to comment.