[PropertyInfo] fix return type declarations
This commit is contained in:
parent
5f3b4b616b
commit
07405e2c60
@ -30,6 +30,8 @@ class NullExtractor implements PropertyListExtractorInterface, PropertyDescripti
|
|||||||
{
|
{
|
||||||
$this->assertIsString($class);
|
$this->assertIsString($class);
|
||||||
$this->assertIsString($property);
|
$this->assertIsString($property);
|
||||||
|
|
||||||
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -39,6 +41,8 @@ class NullExtractor implements PropertyListExtractorInterface, PropertyDescripti
|
|||||||
{
|
{
|
||||||
$this->assertIsString($class);
|
$this->assertIsString($class);
|
||||||
$this->assertIsString($property);
|
$this->assertIsString($property);
|
||||||
|
|
||||||
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -48,6 +52,8 @@ class NullExtractor implements PropertyListExtractorInterface, PropertyDescripti
|
|||||||
{
|
{
|
||||||
$this->assertIsString($class);
|
$this->assertIsString($class);
|
||||||
$this->assertIsString($property);
|
$this->assertIsString($property);
|
||||||
|
|
||||||
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -57,6 +63,8 @@ class NullExtractor implements PropertyListExtractorInterface, PropertyDescripti
|
|||||||
{
|
{
|
||||||
$this->assertIsString($class);
|
$this->assertIsString($class);
|
||||||
$this->assertIsString($property);
|
$this->assertIsString($property);
|
||||||
|
|
||||||
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -66,6 +74,8 @@ class NullExtractor implements PropertyListExtractorInterface, PropertyDescripti
|
|||||||
{
|
{
|
||||||
$this->assertIsString($class);
|
$this->assertIsString($class);
|
||||||
$this->assertIsString($property);
|
$this->assertIsString($property);
|
||||||
|
|
||||||
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -74,6 +84,8 @@ class NullExtractor implements PropertyListExtractorInterface, PropertyDescripti
|
|||||||
public function getProperties($class, array $context = [])
|
public function getProperties($class, array $context = [])
|
||||||
{
|
{
|
||||||
$this->assertIsString($class);
|
$this->assertIsString($class);
|
||||||
|
|
||||||
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
private function assertIsString($string)
|
private function assertIsString($string)
|
||||||
|
Reference in New Issue
Block a user