Skip to content

Commit 82a5ca2

Browse files
committed
[make:serializer:encoder] set public constant visibility modifier
1 parent c6330a3 commit 82a5ca2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Resources/skeleton/serializer/Encoder.tpl.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
class <?= $class_name ?> implements EncoderInterface, DecoderInterface
99
{
10-
const FORMAT = '<?= $format ?>';
10+
public const FORMAT = '<?= $format ?>';
1111

1212
public function encode($data, $format, array $context = [])
1313
{

0 commit comments

Comments
 (0)