Skip to content

Commit ce3b2ab

Browse files
Merge branch '5.4' into 6.4
* 5.4: Fix test
2 parents 8477f02 + 5c0ebc9 commit ce3b2ab

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Symfony/Component/PropertyAccess/Tests/Fixtures/TestClassMagicGet.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public function __get(string $property)
4040
}
4141
}
4242

43-
public function __isset(string $property)
43+
public function __isset(string $property): bool
4444
{
4545
return \in_array($property, ['magicProperty', 'constantMagicProperty'], true);
4646
}

src/Symfony/Component/Serializer/Tests/Normalizer/ObjectNormalizerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1101,7 +1101,7 @@ public function __get($name)
11011101
}
11021102
}
11031103

1104-
public function __isset($name)
1104+
public function __isset($name): bool
11051105
{
11061106
return 'foo' === $name;
11071107
}

0 commit comments

Comments
 (0)