diff --git a/src/entity/EntityFactory.php b/src/entity/EntityFactory.php index 0f4a83a8d..be1085e50 100644 --- a/src/entity/EntityFactory.php +++ b/src/entity/EntityFactory.php @@ -111,7 +111,6 @@ final class EntityFactory{ * * @param string $className Class that extends Entity * @param string[] $saveNames An array of save names which this entity might be saved under. Defaults to the short name of the class itself if empty. - * @param int|null $legacyMcpeSaveId * @phpstan-param class-string $className * * NOTE: The first save name in the $saveNames array will be used when saving the entity to disk. The reflection diff --git a/src/event/HandlerListManager.php b/src/event/HandlerListManager.php index 0f7867d2f..4bd61f802 100644 --- a/src/event/HandlerListManager.php +++ b/src/event/HandlerListManager.php @@ -57,7 +57,6 @@ class HandlerListManager{ } /** - * @param \ReflectionClass $class * @phpstan-param \ReflectionClass $class */ private static function isValidClass(\ReflectionClass $class) : bool{ diff --git a/src/network/mcpe/protocol/Packet.php b/src/network/mcpe/protocol/Packet.php index 6ea81b4f7..6c84cd97f 100644 --- a/src/network/mcpe/protocol/Packet.php +++ b/src/network/mcpe/protocol/Packet.php @@ -54,8 +54,6 @@ interface Packet{ * Typically this method returns the return value of the handler in the supplied PacketHandler. See other packets * for examples how to implement this. * - * @param PacketHandlerInterface $handler - * * @return bool true if the packet was handled successfully, false if not. * @throws PacketDecodeException if broken data was found in the packet */ diff --git a/src/network/mcpe/raklib/RakLibServer.php b/src/network/mcpe/raklib/RakLibServer.php index 7543b66fc..ec335cf3c 100644 --- a/src/network/mcpe/raklib/RakLibServer.php +++ b/src/network/mcpe/raklib/RakLibServer.php @@ -73,11 +73,7 @@ class RakLibServer extends Thread{ public $crashInfo = null; /** - * @param \ThreadedLogger $logger - * @param InternetAddress $address - * @param int $maxMtuSize * @param int|null $overrideProtocolVersion Optional custom protocol version to use, defaults to current RakLib's protocol - * @param SleeperNotifier|null $sleeper */ public function __construct( \ThreadedLogger $logger, diff --git a/src/updater/AutoUpdater.php b/src/updater/AutoUpdater.php index d60b42c59..662dc3d77 100644 --- a/src/updater/AutoUpdater.php +++ b/src/updater/AutoUpdater.php @@ -65,8 +65,6 @@ class AutoUpdater{ /** * Callback used at the end of the update checking task - * - * @param UpdateInfo $updateInfo */ public function checkUpdateCallback(UpdateInfo $updateInfo) : void{ $this->updateInfo = $updateInfo; @@ -142,8 +140,6 @@ class AutoUpdater{ /** * Returns the last retrieved update data. - * - * @return UpdateInfo|null */ public function getUpdateInfo() : ?UpdateInfo{ return $this->updateInfo;