ItemDeserializer: fix doc comment typo

This commit is contained in:
Dylan K. Taylor 2025-02-16 22:52:11 +00:00
parent 788ee9a008
commit d2d6a59c72
No known key found for this signature in database
GPG Key ID: 8927471A91CAFD3D

View File

@ -58,7 +58,7 @@ final class ItemDeserializer{
* 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.
*
* @phpstan-return \Closure(Data) : Item
* @phpstan-return ?\Closure(Data) : Item
*/
public function getDeserializerForId(string $id) : ?\Closure{
return $this->deserializers[$id] ?? null;