minor #32944 [Yaml] Removed unused $nullAsTilde property (pierredup)

This PR was squashed before being merged into the 4.4 branch (closes #32944).

Discussion
----------

[Yaml] Removed unused $nullAsTilde property

| Q             | A
| ------------- | ---
| Branch?       | 4.4
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | N/A
| License       | MIT
| Doc PR        | N/A

#32669 added a new private property `$nullAsTilde`, but that property was never used, so this PR removes the unused property

Commits
-------

fbef8543cd [Yaml] Removed unused $nullAsTilde property
This commit is contained in:
Christian Flothmann 2019-08-05 11:41:47 +02:00
commit d076d90e2d

View File

@ -33,7 +33,6 @@ class Inline
private static $objectSupport = false;
private static $objectForMap = false;
private static $constantSupport = false;
private static $nullAsTilde = false;
/**
* @param int $flags
@ -46,7 +45,6 @@ class Inline
self::$objectSupport = (bool) (Yaml::PARSE_OBJECT & $flags);
self::$objectForMap = (bool) (Yaml::PARSE_OBJECT_FOR_MAP & $flags);
self::$constantSupport = (bool) (Yaml::PARSE_CONSTANT & $flags);
self::$nullAsTilde = (bool) (Yaml::DUMP_NULL_AS_TILDE & $flags);
self::$parsedFilename = $parsedFilename;
if (null !== $parsedLineNumber) {