8000 @dunglas review fix · symfony/symfony@1ebbadb · GitHub
[go: up one dir, main page]

Skip to content

Commit 1ebbadb

Browse files
committed
@dunglas review fix
1 parent 0f7ab10 commit 1ebbadb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Serializer/Normalizer/ObjectToPopulateTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ trait ObjectToPopulateTrait
2626
*/
2727
protected function extractObjectToPopulate($class, array $context, $key = null)
2828
{
29-
$key = $key ?: AbstractNormalizer::OBJECT_TO_POPULATE;
29+
$key = $key ?? AbstractNormalizer::OBJECT_TO_POPULATE;
3030

3131
if (isset($context[$key]) && \is_object($context[$key]) && $context[$key] instanceof $class) {
3232
return $context[$key];

0 commit comments

Comments
 (0)
0