Skip to content

Commit cced370

Browse files
committed
used attribute Deprecated
1 parent b59b81a commit cced370

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/Neon/Encoder.php

+1-1
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

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ 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

24-
/** @deprecated use parameter $blockMode */
24+
#[\Deprecated('use parameter $blockMode')]
2525
public const BLOCK = Encoder::BLOCK;
2626

2727

0 commit comments

Comments
 (0)