8000 'yml' is not a format and shouldn't be visible as constant from 'Yaml… · symfony/symfony@674b359 · GitHub
[go: up one dir, main page]

Skip to content

Commit 674b359

Browse files
author
Kevin Grenier
committed
'yml' is not a format and shouldn't be visible as constant from 'YamlEncoder' class
1 parent 91f6e69 commit 674b359

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Serializer/Encoder/YamlEncoder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
class YamlEncoder implements EncoderInterface, DecoderInterface
2424
{
2525
const FORMAT = 'yaml';
26-
const ALTERNATIVE_FORMAT = 'yml';
26+
private const ALTERNATIVE_FORMAT = 'yml';
2727

2828
private $dumper;
2929
private $parser;

0 commit comments

Comments
 (0)
0