added, fixed & improved PHPDoc & Type Hints
This commit is contained in:
@ -41,7 +41,7 @@ class PluginUpdateData {
|
||||
}
|
||||
|
||||
/**
|
||||
* Check if the Plugin Update Data is newer than the given Plugin Versin
|
||||
* Check if the Plugin Update Data is newer than the given Plugin Version
|
||||
*
|
||||
* @param float $version
|
||||
* @return bool
|
||||
|
@ -322,6 +322,7 @@ class PluginUpdateManager implements CallbackListener, CommandListener, TimerLis
|
||||
*
|
||||
* @param PluginUpdateData $pluginUpdateData
|
||||
* @param Player $player
|
||||
* @param bool $update
|
||||
*/
|
||||
private function installPlugin(PluginUpdateData $pluginUpdateData, Player $player = null, $update = false) {
|
||||
$self = $this;
|
||||
|
@ -453,6 +453,7 @@ class UpdateManager implements CallbackListener, CommandListener, TimerListener
|
||||
* Check if ManiaControl is running the Nightly Update Channel
|
||||
*
|
||||
* @param string $updateChannel
|
||||
* @return bool
|
||||
*/
|
||||
public function isNightlyUpdateChannel($updateChannel = null) {
|
||||
if (!$updateChannel) {
|
||||
|
Reference in New Issue
Block a user