Skip to content

Commit eb7d5c8

Browse files
committed
used attribute Deprecated
1 parent 4a81c51 commit eb7d5c8

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/Neon/Encoder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
*/
1919
final class Encoder
2020
{
21-
/** @deprecated */
21+
#[\Deprecated]
2222
public const BLOCK = true;
2323

2424
public bool $blockMode = false;

src/Neon/Neon.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ final class Neon
1818
{
1919
public const Chain = '!!chain';
2020

21-
/** @deprecated use Neon::Chain */
21+
#[\Deprecated('use Neon::Chain')]
2222
public const CHAIN = self::Chain;
2323

2424
/** @deprecated use parameter $blockMode */
25-
public const BLOCK = Encoder::BLOCK;
25+
public const BLOCK = true;
2626

2727

2828
/**

0 commit comments

Comments
 (0)