applied common formatting
This commit is contained in:
@ -4,10 +4,10 @@ namespace ManiaControl\Update;
|
||||
|
||||
/**
|
||||
* Update Data Structure
|
||||
*
|
||||
* @author ManiaControl Team
|
||||
* @copyright ManiaControl Copyright © 2014 ManiaControl Team
|
||||
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
|
||||
*
|
||||
* @author ManiaControl Team <mail@maniacontrol.com>
|
||||
* @copyright 2014 ManiaControl Team
|
||||
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
|
||||
*/
|
||||
class UpdateData {
|
||||
/*
|
||||
@ -21,20 +21,20 @@ class UpdateData {
|
||||
|
||||
/**
|
||||
* Construct new Update Data
|
||||
*
|
||||
*
|
||||
* @param object $updateData
|
||||
*/
|
||||
public function __construct($updateData) {
|
||||
$this->version = $updateData->version;
|
||||
$this->channel = $updateData->channel;
|
||||
$this->url = $updateData->url;
|
||||
$this->releaseDate = $updateData->release_date;
|
||||
$this->version = $updateData->version;
|
||||
$this->channel = $updateData->channel;
|
||||
$this->url = $updateData->url;
|
||||
$this->releaseDate = $updateData->release_date;
|
||||
$this->minDedicatedBuild = $updateData->min_dedicated_build;
|
||||
}
|
||||
|
||||
/**
|
||||
* Check if the Update Data is newer than the given Date
|
||||
*
|
||||
*
|
||||
* @param string $compareDate
|
||||
* @return bool
|
||||
*/
|
||||
|
Reference in New Issue
Block a user