Code formatting

This commit is contained in:
Cédric Belin
2019-04-15 19:22:15 +02:00
parent 94c3cddd21
commit 76e8cfa0a4
13 changed files with 91 additions and 273 deletions

View File

@ -3,34 +3,22 @@ namespace Gitea\Models;
use Enum\{EnumTrait};
/**
* Defines the permission of a team.
*/
/** Defines the permission of a team. */
final class TeamPermission {
use EnumTrait;
/**
* @var string The team has the administrator permission.
*/
/** @var string The team has the administrator permission. */
const ADMIN = 'admin';
/**
* @var string The team doesn't have any permission.
*/
/** @var string The team doesn't have any permission. */
const NONE = 'none';
/**
* @var string The team has the owner permission.
*/
/** @var string The team has the owner permission. */
const OWNER = 'owner';
/**
* @var string The team has the read permission.
*/
/** @var string The team has the read permission. */
const READ = 'read';
/**
* @var string The team has the write permission.
*/
/** @var string The team has the write permission. */
const WRITE = 'write';
}