diff --git a/src/pocketmine/updater/AutoUpdater.php b/src/pocketmine/updater/AutoUpdater.php index cbc22ba52..29a34616a 100644 --- a/src/pocketmine/updater/AutoUpdater.php +++ b/src/pocketmine/updater/AutoUpdater.php @@ -41,7 +41,7 @@ class AutoUpdater{ protected $server; /** @var string */ protected $endpoint; - /** @var array|null */ + /* @var mixed[]|null */ protected $updateInfo = null; /** @var VersionString|null */ protected $newVersion; @@ -58,6 +58,8 @@ class AutoUpdater{ /** * Callback used at the end of the update checking task * + * @param mixed[] $updateInfo + * * @return void */ public function checkUpdateCallback(array $updateInfo){ @@ -132,6 +134,8 @@ class AutoUpdater{ } /** + * @param string[] $lines + * * @return void */ protected function printConsoleMessage(array $lines, string $logLevel = \LogLevel::INFO){ @@ -148,7 +152,7 @@ class AutoUpdater{ /** * Returns the last retrieved update data. * - * @return array|null + * @return mixed[]|null */ public function getUpdateInfo(){ return $this->updateInfo;