Skip to content

Commit 53d0ba0

Browse files
committed
ListTag: don't deprecate constructor parameter
while this has very little useful purpose, it does allow setting information that's stored on disk, and we need it for type preservation across decode&encode anyway, so it's not going away.
1 parent 6f4a1e4 commit 53d0ba0

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/tag/ListTag.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ final class ListTag extends Tag implements \Countable, \IteratorAggregate{
5757

5858
/**
5959
* @param Tag[] $value
60-
* @param int $tagType @deprecated
6160
*/
6261
public function __construct(array $value = [], int $tagType = NBT::TAG_End){
6362
self::restrictArgCount(__METHOD__, func_num_args(), 2);

0 commit comments

Comments
 (0)