[PropertyInfo] fix return type declarations

This commit is contained in:
Nicolas Grekas 2019-08-25 09:11:15 +02:00
parent 5f3b4b616b
commit 07405e2c60
1 changed files with 12 additions and 0 deletions

View File

@ -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)