mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-08-29 22:45:00 +00:00
CS: strip unneeded phpdoc
This commit is contained in:
parent
11eb1f1c5e
commit
b3df5f4e95
@ -111,7 +111,6 @@ final class EntityFactory{
|
|||||||
*
|
*
|
||||||
* @param string $className Class that extends Entity
|
* @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 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<Entity> $className
|
* @phpstan-param class-string<Entity> $className
|
||||||
*
|
*
|
||||||
* NOTE: The first save name in the $saveNames array will be used when saving the entity to disk. The reflection
|
* NOTE: The first save name in the $saveNames array will be used when saving the entity to disk. The reflection
|
||||||
|
@ -57,7 +57,6 @@ class HandlerListManager{
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param \ReflectionClass $class
|
|
||||||
* @phpstan-param \ReflectionClass<Event> $class
|
* @phpstan-param \ReflectionClass<Event> $class
|
||||||
*/
|
*/
|
||||||
private static function isValidClass(\ReflectionClass $class) : bool{
|
private static function isValidClass(\ReflectionClass $class) : bool{
|
||||||
|
@ -54,8 +54,6 @@ interface Packet{
|
|||||||
* Typically this method returns the return value of the handler in the supplied PacketHandler. See other packets
|
* Typically this method returns the return value of the handler in the supplied PacketHandler. See other packets
|
||||||
* for examples how to implement this.
|
* for examples how to implement this.
|
||||||
*
|
*
|
||||||
* @param PacketHandlerInterface $handler
|
|
||||||
*
|
|
||||||
* @return bool true if the packet was handled successfully, false if not.
|
* @return bool true if the packet was handled successfully, false if not.
|
||||||
* @throws PacketDecodeException if broken data was found in the packet
|
* @throws PacketDecodeException if broken data was found in the packet
|
||||||
*/
|
*/
|
||||||
|
@ -73,11 +73,7 @@ class RakLibServer extends Thread{
|
|||||||
public $crashInfo = null;
|
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 int|null $overrideProtocolVersion Optional custom protocol version to use, defaults to current RakLib's protocol
|
||||||
* @param SleeperNotifier|null $sleeper
|
|
||||||
*/
|
*/
|
||||||
public function __construct(
|
public function __construct(
|
||||||
\ThreadedLogger $logger,
|
\ThreadedLogger $logger,
|
||||||
|
@ -65,8 +65,6 @@ class AutoUpdater{
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Callback used at the end of the update checking task
|
* Callback used at the end of the update checking task
|
||||||
*
|
|
||||||
* @param UpdateInfo $updateInfo
|
|
||||||
*/
|
*/
|
||||||
public function checkUpdateCallback(UpdateInfo $updateInfo) : void{
|
public function checkUpdateCallback(UpdateInfo $updateInfo) : void{
|
||||||
$this->updateInfo = $updateInfo;
|
$this->updateInfo = $updateInfo;
|
||||||
@ -142,8 +140,6 @@ class AutoUpdater{
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the last retrieved update data.
|
* Returns the last retrieved update data.
|
||||||
*
|
|
||||||
* @return UpdateInfo|null
|
|
||||||
*/
|
*/
|
||||||
public function getUpdateInfo() : ?UpdateInfo{
|
public function getUpdateInfo() : ?UpdateInfo{
|
||||||
return $this->updateInfo;
|
return $this->updateInfo;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user