for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
/**
* Audioplayer
*
* This file is licensed under the Affero General Public License version 3 or
* later. See the LICENSE.md file.
* @author Marcel Scherello <[email protected]>
* @author Arthur Schiwon <[email protected]>
* @copyright 2020 Marcel Scherello
*/
namespace OCA\audioplayer\WhatsNew;
use OCP\AppFramework\Db\Entity;
* Class ChangesResult
* @package OC\Updater
* @method string getVersion()= 1
* @method void setVersion(string $version)
* @method string getEtag()
* @method void setEtag(string $etag)
* @method int getLastCheck()
* @method void setLastCheck(int $lastCheck)
* @method string getData()
* @method void setData(string $data)
class WhatsNewResult extends Entity
{
/** @var string */
protected $version = '';
protected $etag = '';
/** @var int */
protected $lastCheck = 0;
protected $data = '';
public function __construct()
$this->addType('version', 'string');
$this->addType('etag', 'string');
$this->addType('lastCheck', 'int');
$this->addType('data', 'string');
}