mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-11 04:17:48 +00:00
ItemDeserializer: fix doc comment typo
This commit is contained in:
parent
788ee9a008
commit
d2d6a59c72
@ -58,7 +58,7 @@ final class ItemDeserializer{
|
|||||||
* Returns the existing data deserializer for the given ID, or null if none exists.
|
* Returns the existing data deserializer for the given ID, or null if none exists.
|
||||||
* This may be useful if you need to override a deserializer, but still want to be able to fall back to the original.
|
* This may be useful if you need to override a deserializer, but still want to be able to fall back to the original.
|
||||||
*
|
*
|
||||||
* @phpstan-return \Closure(Data) : Item
|
* @phpstan-return ?\Closure(Data) : Item
|
||||||
*/
|
*/
|
||||||
public function getDeserializerForId(string $id) : ?\Closure{
|
public function getDeserializerForId(string $id) : ?\Closure{
|
||||||
return $this->deserializers[$id] ?? null;
|
return $this->deserializers[$id] ?? null;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user