Skip to content

Commit 057dcdf

Browse files
committed
used attribute Deprecated
1 parent 2490635 commit 057dcdf

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/Neon/Encoder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
*/
1717
final class Encoder
1818
{
19-
/** @deprecated */
19+
#[\Deprecated]
2020
public const BLOCK = true;
2121

2222
public bool $blockMode = false;

src/Neon/Neon.php

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

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

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

2525

2626
/**

0 commit comments

Comments
 (0)