Skip to content

Commit 3615325

Browse files
committed
[YAML] minor fix (loader => yml)
1 parent 46dfc42 commit 3615325

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/yaml.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ When loading a YAML file, it is sometimes better to use the
122122
123123
use Symfony\Component\Yaml\Yaml;
124124
125-
$loader = Yaml::parse('/path/to/file.yml');
125+
$yaml = Yaml::parse('/path/to/file.yml');
126126
127127
The :method:`Symfony\\Component\\Yaml\\Yaml::parse` static method takes a YAML
128128
string or a file containing YAML. Internally, it calls the

0 commit comments

Comments
 (0)