Drop a bunch of invalid null defaults

phpstan doesn't report these out of the box, for reasons I'm not clear on. It's also not clear if having null defaults has any effect on nullability behaviour, so they are best removed. In addition, these would be problematic on 7.4.
This commit is contained in:
Dylan K. Taylor
2020-02-05 20:53:54 +00:00
parent 41b1fa7b48
commit 495bfda044
7 changed files with 23 additions and 23 deletions

View File

@ -28,7 +28,7 @@ use pocketmine\utils\BinaryDataException;
class PacketPool{
/** @var \SplFixedArray<DataPacket> */
protected static $pool = null;
protected static $pool;
/**
* @return void