You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Inline.php
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -575,7 +575,7 @@ private static function evaluateScalar(string $scalar, int $flags, array $refere
575
575
case'null' === $scalarLower:
576
576
case'' === $scalar:
577
577
case'~' === $scalar:
578
-
return;
578
+
returnnull;
579
579
case'true' === $scalarLower:
580
580
returntrue;
581
581
case'false' === $scalarLower:
@@ -595,7 +595,7 @@ private static function evaluateScalar(string $scalar, int $flags, array $refere
595
595
thrownewParseException('Object support when parsing a YAML file has been disabled.', self::$parsedLineNumber + 1, $scalar, self::$parsedFilename);
596
596
}
597
597
598
-
return;
598
+
returnnull;
599
599
case0 === strpos($scalar, '!php/const'):
600
600
if (self::$constantSupport) {
601
601
$i = 0;
@@ -609,7 +609,7 @@ private static function evaluateScalar(string $scalar, int $flags, array $refere
609
609
thrownewParseException(sprintf('The string "%s" could not be parsed as a constant. Have you forgotten to pass the "Yaml::PARSE_CONSTANT" flag to the parser?', $scalar), self::$parsedLineNumber + 1, $scalar, self::$parsedFilename);
0 commit comments