Skip to content

Commit eaff34a

Browse files
committed
[Yaml] Remove dead code
1 parent bb5d49c commit eaff34a

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/Symfony/Component/Yaml/Inline.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,6 @@ public static function initialize(int $flags, int $parsedLineNumber = null, stri
5757
*/
5858
public static function parse(string $value, int $flags = 0, array &$references = []): mixed
5959
{
60-
if (null === $value) {
61-
return '';
62-
}
63-
6460
self::initialize($flags);
6561

6662
$value = trim($value);

0 commit comments

Comments
 (0)