Skip to content

Commit 171eb4d

Browse files
committed
Merge branch '5.3' into 5.4
* 5.3: Simplify some code with null coalesce operator Don't use deprecated TestLogger class
2 parents 65c78e1 + 13d6b9b commit 171eb4d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Extension/Core/Type/TextType.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,6 @@ public function transform($data)
6262
*/
6363
public function reverseTransform($data)
6464
{
65-
return null === $data ? '' : $data;
65+
return $data ?? '';
6666
}
6767
}

0 commit comments

Comments
 (0)