diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-10-21 16:45:36 +0200 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-10-21 16:45:36 +0200 |
commit | 42d69a95f3276a2d6089ca68f635c4e2f6aa7a23 (patch) | |
tree | 6a17fd7998f291e6dec1d996c1e7c724b92b8e58 /db/folder.php | |
parent | 0e6598b0734fb927109f745d9c0f3a8605a30ca5 (diff) |
convert tabs indention to indention with 4 spaces because of mixing of both variants in code and better readability on github and websites because you cant set the indention width there and 8 spaces will be used for a tab
Diffstat (limited to 'db/folder.php')
-rw-r--r-- | db/folder.php | 60 |
1 files changed, 30 insertions, 30 deletions
diff --git a/db/folder.php b/db/folder.php index d5f50685f..6d4af1aa3 100644 --- a/db/folder.php +++ b/db/folder.php @@ -31,38 +31,38 @@ use \OCP\AppFramework\Db\Entity; */ class Folder extends Entity implements IAPI, \JsonSerializable { - use EntityJSONSerializer; + use EntityJSONSerializer; - protected $parentId; - protected $name; - protected $userId; - protected $opened; - protected $deletedAt; + protected $parentId; + protected $name; + protected $userId; + protected $opened; + protected $deletedAt; - public function __construct(){ - $this->addType('parentId', 'integer'); - $this->addType('opened', 'boolean'); - $this->addType('deletedAt', 'integer'); - } + public function __construct(){ + $this->addType('parentId', 'integer'); + $this->addType('opened', 'boolean'); + $this->addType('deletedAt', 'integer'); + } - /** - * Turns entitie attributes into an array - */ - public function jsonSerialize() { - return $this->serializeFields([ - 'id', - 'parentId', - 'name', - 'userId', - 'opened', - 'deletedAt', - ]); - } + /** + * Turns entitie attributes into an array + */ + public function jsonSerialize() { + return $this->serializeFields([ + 'id', + 'parentId', + 'name', + 'userId', + 'opened', + 'deletedAt', + ]); + } - public function toAPI() { - return $this->serializeFields([ - 'id', - 'name' - ]); - } + public function toAPI() { + return $this->serializeFields([ + 'id', + 'name' + ]); + } }
\ No newline at end of file |