mirror of
https://github.com/danog/psalm.git
synced 2024-11-30 04:39:00 +01:00
Fix api
This commit is contained in:
parent
a09e23d118
commit
e34c9ab812
@ -566,7 +566,8 @@ abstract class ClassLikeAnalyzer extends SourceAnalyzer implements StatementsSou
|
||||
$fq_class_name,
|
||||
$property_name,
|
||||
true,
|
||||
$context
|
||||
$context,
|
||||
$code_location
|
||||
);
|
||||
|
||||
if ($property_visible !== null) {
|
||||
|
@ -18,8 +18,8 @@ class PropertyVisibilityProvider
|
||||
* string,
|
||||
* string,
|
||||
* bool,
|
||||
* ?Context=,
|
||||
* ?CodeLocation=
|
||||
* Context,
|
||||
* CodeLocation
|
||||
* ) : ?bool>
|
||||
* >
|
||||
*/
|
||||
@ -51,8 +51,8 @@ class PropertyVisibilityProvider
|
||||
* string,
|
||||
* string,
|
||||
* bool,
|
||||
* ?Context=,
|
||||
* ?CodeLocation=
|
||||
* Context,
|
||||
* CodeLocation
|
||||
* ) : ?bool $c
|
||||
*
|
||||
* @return void
|
||||
@ -77,8 +77,8 @@ class PropertyVisibilityProvider
|
||||
string $fq_classlike_name,
|
||||
string $property_name,
|
||||
bool $read_mode,
|
||||
Context $context = null,
|
||||
CodeLocation $code_location = null
|
||||
Context $context,
|
||||
CodeLocation $code_location
|
||||
) {
|
||||
foreach (self::$handlers[strtolower($fq_classlike_name)] as $property_handler) {
|
||||
$property_visible = $property_handler(
|
||||
|
@ -20,7 +20,7 @@ interface PropertyVisibilityProviderInterface
|
||||
string $fq_classlike_name,
|
||||
string $property_name,
|
||||
bool $read_mode,
|
||||
?Context $context = null,
|
||||
?CodeLocation $code_location = null
|
||||
Context $context,
|
||||
CodeLocation $code_location
|
||||
);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user