Skip to content

Commit a88dff3

Browse files
committed
[Yaml] Remove legacy code
1 parent bcb1d8f commit a88dff3

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

src/Symfony/Component/Yaml/Parser.php

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -259,17 +259,6 @@ public function parse($value, $exceptionOnInvalidType = false, $objectSupport =
259259
throw $e;
260260
}
261261

262-
if (is_array($value)) {
263-
$first = reset($value);
264-
if (is_string($first) && 0 === strpos($first, '*')) {
265-
$data = array();
266-
foreach ($value as $alias) {
267-
$data[] = $this->refs[substr($alias, 1)];
268-
}
269-
$value = $data;
270-
}
271-
}
272-
273262
if (isset($mbEncoding)) {
274263
mb_internal_encoding($mbEncoding);
275264
}

0 commit comments

Comments
 (0)