mirror of
https://github.com/sitelease/sugar-cube-client.git
synced 2025-11-03 05:22:29 +01:00
Corrected namespaces + Chnaged tab size to 4
+ Went through all the Model classes and updated their namespaces to match their parent folder name + Changed tab sizes to 4 spaces instead of 2 (in all php files)
This commit is contained in:
@ -1,24 +1,24 @@
|
||||
<?php declare(strict_types=1);
|
||||
namespace Gitea\Models;
|
||||
namespace Gitea\Model;
|
||||
|
||||
use Enum\{EnumTrait};
|
||||
|
||||
/** Defines the permission of a team. */
|
||||
final class TeamPermission {
|
||||
use EnumTrait;
|
||||
use EnumTrait;
|
||||
|
||||
/** @var string The team has the administrator permission. */
|
||||
const admin = 'admin';
|
||||
/** @var string The team has the administrator permission. */
|
||||
const admin = 'admin';
|
||||
|
||||
/** @var string The team doesn't have any permission. */
|
||||
const none = 'none';
|
||||
/** @var string The team doesn't have any permission. */
|
||||
const none = 'none';
|
||||
|
||||
/** @var string The team has the owner permission. */
|
||||
const owner = 'owner';
|
||||
/** @var string The team has the owner permission. */
|
||||
const owner = 'owner';
|
||||
|
||||
/** @var string The team has the read permission. */
|
||||
const read = 'read';
|
||||
/** @var string The team has the read permission. */
|
||||
const read = 'read';
|
||||
|
||||
/** @var string The team has the write permission. */
|
||||
const write = 'write';
|
||||
/** @var string The team has the write permission. */
|
||||
const write = 'write';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user