Skip to content

Commit 07405e2

Browse files
[PropertyInfo] fix return type declarations
1 parent 5f3b4b6 commit 07405e2

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

src/Symfony/Component/PropertyInfo/Tests/Fixtures/NullExtractor.php

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ public function getShortDescription($class, $property, array $context = [])
3030
{
3131
$this->assertIsString($class);
3232
$this->assertIsString($property);
33+
34+
return null;
3335
}
3436

3537
/**
@@ -39,6 +41,8 @@ public function getLongDescription($class, $property, array $context = [])
3941
{
4042
$this->assertIsString($class);
4143
$this->assertIsString($property);
44+
45+
return null;
4246
}
4347

4448
/**
@@ -48,6 +52,8 @@ public function getTypes($class, $property, array $context = [])
4852
{
4953
$this->assertIsString($class);
5054
$this->assertIsString($property);
55+
56+
return null;
5157
}
5258

5359
/**
@@ -57,6 +63,8 @@ public function isReadable($class, $property, array $context = [])
5763
{
5864
$this->assertIsString($class);
5965
$this->assertIsString($property);
66+
67+
return null;
6068
}
6169

6270
/**
@@ -66,6 +74,8 @@ public function isWritable($class, $property, array $context = [])
6674
{
6775
$this->assertIsString($class);
6876
$this->assertIsString($property);
77+
78+
return null;
6979
}
7080

7181
/**
@@ -74,6 +84,8 @@ public function isWritable($class, $property, array $context = [])
7484
public function getProperties($class, array $context = [])
7585
{
7686
$this->assertIsString($class);
87+
88+
return null;
7789
}
7890

7991
private function assertIsString($string)

0 commit comments

Comments
 (0)