8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 828fba4 commit 6a806e3Copy full SHA for 6a806e3
src/Symfony/Component/Yaml/Yaml.php
@@ -21,10 +21,7 @@
21
class Yaml
22
{
23
/**
24
- * Parses YAML into a PHP array.
25
- *
26
- * The parse method, when supplied with a YAML stream (string or file),
27
- * will do its best to convert YAML in a file into a PHP array.
+ * Parses YAML into a PHP value.
28
*
29
* Usage:
30
* <code>
@@ -40,7 +37,7 @@ class Yaml
40
37
* @param bool $exceptionOnInvalidType True if an exception must be thrown on invalid types false otherwise
41
38
* @param bool $objectSupport True if object support is enabled, false otherwise
42
39
43
- * @return array The YAML converted to a PHP array
+ * @return mixed The YAML converted to a PHP value
44
45
* @throws ParseException If the YAML is not valid
46
*/
0 commit comments