CS: strip unneeded phpdoc

This commit is contained in:
Dylan K. Taylor 2020-06-18 20:01:49 +01:00
parent 11eb1f1c5e
commit b3df5f4e95
5 changed files with 0 additions and 12 deletions

View File

@ -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<Entity> $className
*
* NOTE: The first save name in the $saveNames array will be used when saving the entity to disk. The reflection

View File

@ -57,7 +57,6 @@ class HandlerListManager{
}
/**
* @param \ReflectionClass $class
* @phpstan-param \ReflectionClass<Event> $class
*/
private static function isValidClass(\ReflectionClass $class) : bool{

View File

@ -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
*/

View File

@ -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,

View File

@ -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;