@@ -32,51 +32,51 @@ |
||
| 32 | 32 | * @since 8.0.0 |
| 33 | 33 | */ |
| 34 | 34 | interface ICertificate { |
| 35 | - /** |
|
| 36 | - * @return string |
|
| 37 | - * @since 8.0.0 |
|
| 38 | - */ |
|
| 39 | - public function getName(): string; |
|
| 35 | + /** |
|
| 36 | + * @return string |
|
| 37 | + * @since 8.0.0 |
|
| 38 | + */ |
|
| 39 | + public function getName(): string; |
|
| 40 | 40 | |
| 41 | - /** |
|
| 42 | - * @return string|null |
|
| 43 | - * @since 8.0.0 |
|
| 44 | - */ |
|
| 45 | - public function getCommonName(): ?string; |
|
| 41 | + /** |
|
| 42 | + * @return string|null |
|
| 43 | + * @since 8.0.0 |
|
| 44 | + */ |
|
| 45 | + public function getCommonName(): ?string; |
|
| 46 | 46 | |
| 47 | - /** |
|
| 48 | - * @return string|null |
|
| 49 | - * @since 8.0.0 |
|
| 50 | - */ |
|
| 51 | - public function getOrganization(): ?string; |
|
| 47 | + /** |
|
| 48 | + * @return string|null |
|
| 49 | + * @since 8.0.0 |
|
| 50 | + */ |
|
| 51 | + public function getOrganization(): ?string; |
|
| 52 | 52 | |
| 53 | - /** |
|
| 54 | - * @return \DateTime |
|
| 55 | - * @since 8.0.0 |
|
| 56 | - */ |
|
| 57 | - public function getIssueDate(): \DateTime; |
|
| 53 | + /** |
|
| 54 | + * @return \DateTime |
|
| 55 | + * @since 8.0.0 |
|
| 56 | + */ |
|
| 57 | + public function getIssueDate(): \DateTime; |
|
| 58 | 58 | |
| 59 | - /** |
|
| 60 | - * @return \DateTime |
|
| 61 | - * @since 8.0.0 |
|
| 62 | - */ |
|
| 63 | - public function getExpireDate(): \DateTime; |
|
| 59 | + /** |
|
| 60 | + * @return \DateTime |
|
| 61 | + * @since 8.0.0 |
|
| 62 | + */ |
|
| 63 | + public function getExpireDate(): \DateTime; |
|
| 64 | 64 | |
| 65 | - /** |
|
| 66 | - * @return bool |
|
| 67 | - * @since 8.0.0 |
|
| 68 | - */ |
|
| 69 | - public function isExpired(): bool; |
|
| 65 | + /** |
|
| 66 | + * @return bool |
|
| 67 | + * @since 8.0.0 |
|
| 68 | + */ |
|
| 69 | + public function isExpired(): bool; |
|
| 70 | 70 | |
| 71 | - /** |
|
| 72 | - * @return string|null |
|
| 73 | - * @since 8.0.0 |
|
| 74 | - */ |
|
| 75 | - public function getIssuerName(): ?string; |
|
| 71 | + /** |
|
| 72 | + * @return string|null |
|
| 73 | + * @since 8.0.0 |
|
| 74 | + */ |
|
| 75 | + public function getIssuerName(): ?string; |
|
| 76 | 76 | |
| 77 | - /** |
|
| 78 | - * @return string|null |
|
| 79 | - * @since 8.0.0 |
|
| 80 | - */ |
|
| 81 | - public function getIssuerOrganization(): ?string; |
|
| 77 | + /** |
|
| 78 | + * @return string|null |
|
| 79 | + * @since 8.0.0 |
|
| 80 | + */ |
|
| 81 | + public function getIssuerOrganization(): ?string; |
|
| 82 | 82 | } |
@@ -32,43 +32,43 @@ |
||
| 32 | 32 | * @since 8.0.0 |
| 33 | 33 | */ |
| 34 | 34 | interface ICertificateManager { |
| 35 | - /** |
|
| 36 | - * Returns all certificates trusted by the system |
|
| 37 | - * |
|
| 38 | - * @return \OCP\ICertificate[] |
|
| 39 | - * @since 8.0.0 |
|
| 40 | - */ |
|
| 41 | - public function listCertificates(): array; |
|
| 35 | + /** |
|
| 36 | + * Returns all certificates trusted by the system |
|
| 37 | + * |
|
| 38 | + * @return \OCP\ICertificate[] |
|
| 39 | + * @since 8.0.0 |
|
| 40 | + */ |
|
| 41 | + public function listCertificates(): array; |
|
| 42 | 42 | |
| 43 | - /** |
|
| 44 | - * @param string $certificate the certificate data |
|
| 45 | - * @param string $name the filename for the certificate |
|
| 46 | - * @return \OCP\ICertificate |
|
| 47 | - * @throws \Exception If the certificate could not get added |
|
| 48 | - * @since 8.0.0 - since 8.1.0 throws exception instead of returning false |
|
| 49 | - */ |
|
| 50 | - public function addCertificate(string $certificate, string $name): \OCP\ICertificate; |
|
| 43 | + /** |
|
| 44 | + * @param string $certificate the certificate data |
|
| 45 | + * @param string $name the filename for the certificate |
|
| 46 | + * @return \OCP\ICertificate |
|
| 47 | + * @throws \Exception If the certificate could not get added |
|
| 48 | + * @since 8.0.0 - since 8.1.0 throws exception instead of returning false |
|
| 49 | + */ |
|
| 50 | + public function addCertificate(string $certificate, string $name): \OCP\ICertificate; |
|
| 51 | 51 | |
| 52 | - /** |
|
| 53 | - * @param string $name |
|
| 54 | - * @return bool |
|
| 55 | - * @since 8.0.0 |
|
| 56 | - */ |
|
| 57 | - public function removeCertificate(string $name): bool; |
|
| 52 | + /** |
|
| 53 | + * @param string $name |
|
| 54 | + * @return bool |
|
| 55 | + * @since 8.0.0 |
|
| 56 | + */ |
|
| 57 | + public function removeCertificate(string $name): bool; |
|
| 58 | 58 | |
| 59 | - /** |
|
| 60 | - * Get the path to the certificate bundle |
|
| 61 | - * |
|
| 62 | - * @return string |
|
| 63 | - * @since 8.0.0 |
|
| 64 | - */ |
|
| 65 | - public function getCertificateBundle(): string; |
|
| 59 | + /** |
|
| 60 | + * Get the path to the certificate bundle |
|
| 61 | + * |
|
| 62 | + * @return string |
|
| 63 | + * @since 8.0.0 |
|
| 64 | + */ |
|
| 65 | + public function getCertificateBundle(): string; |
|
| 66 | 66 | |
| 67 | - /** |
|
| 68 | - * Get the full local path to the certificate bundle |
|
| 69 | - * |
|
| 70 | - * @return string |
|
| 71 | - * @since 9.0.0 |
|
| 72 | - */ |
|
| 73 | - public function getAbsoluteBundlePath(): string; |
|
| 67 | + /** |
|
| 68 | + * Get the full local path to the certificate bundle |
|
| 69 | + * |
|
| 70 | + * @return string |
|
| 71 | + * @since 9.0.0 |
|
| 72 | + */ |
|
| 73 | + public function getAbsoluteBundlePath(): string; |
|
| 74 | 74 | } |
@@ -12,34 +12,34 @@ |
||
| 12 | 12 | |
| 13 | 13 | class Version1018Date20210312100735 extends SimpleMigrationStep { |
| 14 | 14 | |
| 15 | - /** |
|
| 16 | - * @param IOutput $output |
|
| 17 | - * @param Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper` |
|
| 18 | - * @param array $options |
|
| 19 | - * @return ISchemaWrapper |
|
| 20 | - */ |
|
| 21 | - public function changeSchema(IOutput $output, Closure $schemaClosure, array $options): ?ISchemaWrapper { |
|
| 22 | - /** @var ISchemaWrapper $schema */ |
|
| 23 | - $schema = $schemaClosure(); |
|
| 24 | - |
|
| 25 | - $calendarsTable = $schema->getTable('calendars'); |
|
| 26 | - $calendarsTable->addColumn('deleted_at', Types::INTEGER, [ |
|
| 27 | - 'notnull' => false, |
|
| 28 | - 'length' => 4, |
|
| 29 | - 'unsigned' => true, |
|
| 30 | - ]); |
|
| 31 | - $calendarsTable->addIndex([ |
|
| 32 | - 'principaluri', |
|
| 33 | - 'deleted_at', |
|
| 34 | - ], 'cals_princ_del_idx'); |
|
| 35 | - |
|
| 36 | - $calendarObjectsTable = $schema->getTable('calendarobjects'); |
|
| 37 | - $calendarObjectsTable->addColumn('deleted_at', Types::INTEGER, [ |
|
| 38 | - 'notnull' => false, |
|
| 39 | - 'length' => 4, |
|
| 40 | - 'unsigned' => true, |
|
| 41 | - ]); |
|
| 42 | - |
|
| 43 | - return $schema; |
|
| 44 | - } |
|
| 15 | + /** |
|
| 16 | + * @param IOutput $output |
|
| 17 | + * @param Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper` |
|
| 18 | + * @param array $options |
|
| 19 | + * @return ISchemaWrapper |
|
| 20 | + */ |
|
| 21 | + public function changeSchema(IOutput $output, Closure $schemaClosure, array $options): ?ISchemaWrapper { |
|
| 22 | + /** @var ISchemaWrapper $schema */ |
|
| 23 | + $schema = $schemaClosure(); |
|
| 24 | + |
|
| 25 | + $calendarsTable = $schema->getTable('calendars'); |
|
| 26 | + $calendarsTable->addColumn('deleted_at', Types::INTEGER, [ |
|
| 27 | + 'notnull' => false, |
|
| 28 | + 'length' => 4, |
|
| 29 | + 'unsigned' => true, |
|
| 30 | + ]); |
|
| 31 | + $calendarsTable->addIndex([ |
|
| 32 | + 'principaluri', |
|
| 33 | + 'deleted_at', |
|
| 34 | + ], 'cals_princ_del_idx'); |
|
| 35 | + |
|
| 36 | + $calendarObjectsTable = $schema->getTable('calendarobjects'); |
|
| 37 | + $calendarObjectsTable->addColumn('deleted_at', Types::INTEGER, [ |
|
| 38 | + 'notnull' => false, |
|
| 39 | + 'length' => 4, |
|
| 40 | + 'unsigned' => true, |
|
| 41 | + ]); |
|
| 42 | + |
|
| 43 | + return $schema; |
|
| 44 | + } |
|
| 45 | 45 | } |
@@ -32,10 +32,10 @@ |
||
| 32 | 32 | */ |
| 33 | 33 | interface IRestorable { |
| 34 | 34 | |
| 35 | - /** |
|
| 36 | - * Restore this node |
|
| 37 | - * |
|
| 38 | - * @throws Exception |
|
| 39 | - */ |
|
| 40 | - public function restore(): void; |
|
| 35 | + /** |
|
| 36 | + * Restore this node |
|
| 37 | + * |
|
| 38 | + * @throws Exception |
|
| 39 | + */ |
|
| 40 | + public function restore(): void; |
|
| 41 | 41 | } |
@@ -33,50 +33,50 @@ |
||
| 33 | 33 | use Sabre\DAV\INode; |
| 34 | 34 | |
| 35 | 35 | class RestoreTarget implements ICollection, IMoveTarget { |
| 36 | - public const NAME = 'restore'; |
|
| 36 | + public const NAME = 'restore'; |
|
| 37 | 37 | |
| 38 | - public function createFile($name, $data = null) { |
|
| 39 | - throw new Forbidden(); |
|
| 40 | - } |
|
| 38 | + public function createFile($name, $data = null) { |
|
| 39 | + throw new Forbidden(); |
|
| 40 | + } |
|
| 41 | 41 | |
| 42 | - public function createDirectory($name) { |
|
| 43 | - throw new Forbidden(); |
|
| 44 | - } |
|
| 42 | + public function createDirectory($name) { |
|
| 43 | + throw new Forbidden(); |
|
| 44 | + } |
|
| 45 | 45 | |
| 46 | - public function getChild($name) { |
|
| 47 | - throw new NotFound(); |
|
| 48 | - } |
|
| 46 | + public function getChild($name) { |
|
| 47 | + throw new NotFound(); |
|
| 48 | + } |
|
| 49 | 49 | |
| 50 | - public function getChildren(): array { |
|
| 51 | - return []; |
|
| 52 | - } |
|
| 50 | + public function getChildren(): array { |
|
| 51 | + return []; |
|
| 52 | + } |
|
| 53 | 53 | |
| 54 | - public function childExists($name): bool { |
|
| 55 | - return false; |
|
| 56 | - } |
|
| 54 | + public function childExists($name): bool { |
|
| 55 | + return false; |
|
| 56 | + } |
|
| 57 | 57 | |
| 58 | - public function moveInto($targetName, $sourcePath, INode $sourceNode): bool { |
|
| 59 | - if ($sourceNode instanceof IRestorable) { |
|
| 60 | - $sourceNode->restore(); |
|
| 61 | - return true; |
|
| 62 | - } |
|
| 58 | + public function moveInto($targetName, $sourcePath, INode $sourceNode): bool { |
|
| 59 | + if ($sourceNode instanceof IRestorable) { |
|
| 60 | + $sourceNode->restore(); |
|
| 61 | + return true; |
|
| 62 | + } |
|
| 63 | 63 | |
| 64 | - return false; |
|
| 65 | - } |
|
| 64 | + return false; |
|
| 65 | + } |
|
| 66 | 66 | |
| 67 | - public function delete() { |
|
| 68 | - throw new Forbidden(); |
|
| 69 | - } |
|
| 67 | + public function delete() { |
|
| 68 | + throw new Forbidden(); |
|
| 69 | + } |
|
| 70 | 70 | |
| 71 | - public function getName(): string { |
|
| 72 | - return 'restore'; |
|
| 73 | - } |
|
| 71 | + public function getName(): string { |
|
| 72 | + return 'restore'; |
|
| 73 | + } |
|
| 74 | 74 | |
| 75 | - public function setName($name) { |
|
| 76 | - throw new Forbidden(); |
|
| 77 | - } |
|
| 75 | + public function setName($name) { |
|
| 76 | + throw new Forbidden(); |
|
| 77 | + } |
|
| 78 | 78 | |
| 79 | - public function getLastModified() { |
|
| 80 | - return 0; |
|
| 81 | - } |
|
| 79 | + public function getLastModified() { |
|
| 80 | + return 0; |
|
| 81 | + } |
|
| 82 | 82 | } |
@@ -37,22 +37,22 @@ |
||
| 37 | 37 | |
| 38 | 38 | class Version1008Date20181030113700 extends SimpleMigrationStep { |
| 39 | 39 | |
| 40 | - /** |
|
| 41 | - * @param IOutput $output |
|
| 42 | - * @param Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper` |
|
| 43 | - * @param array $options |
|
| 44 | - * @return null|ISchemaWrapper |
|
| 45 | - */ |
|
| 46 | - public function changeSchema(IOutput $output, Closure $schemaClosure, array $options) { |
|
| 47 | - /** @var ISchemaWrapper $schema */ |
|
| 48 | - $schema = $schemaClosure(); |
|
| 49 | - |
|
| 50 | - $table = $schema->getTable('cards'); |
|
| 51 | - $table->addColumn('uid', Types::STRING, [ |
|
| 52 | - 'notnull' => false, |
|
| 53 | - 'length' => 255 |
|
| 54 | - ]); |
|
| 55 | - |
|
| 56 | - return $schema; |
|
| 57 | - } |
|
| 40 | + /** |
|
| 41 | + * @param IOutput $output |
|
| 42 | + * @param Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper` |
|
| 43 | + * @param array $options |
|
| 44 | + * @return null|ISchemaWrapper |
|
| 45 | + */ |
|
| 46 | + public function changeSchema(IOutput $output, Closure $schemaClosure, array $options) { |
|
| 47 | + /** @var ISchemaWrapper $schema */ |
|
| 48 | + $schema = $schemaClosure(); |
|
| 49 | + |
|
| 50 | + $table = $schema->getTable('cards'); |
|
| 51 | + $table->addColumn('uid', Types::STRING, [ |
|
| 52 | + 'notnull' => false, |
|
| 53 | + 'length' => 255 |
|
| 54 | + ]); |
|
| 55 | + |
|
| 56 | + return $schema; |
|
| 57 | + } |
|
| 58 | 58 | } |
@@ -33,20 +33,20 @@ |
||
| 33 | 33 | |
| 34 | 34 | class Version1002Date20180821043638 extends SimpleMigrationStep { |
| 35 | 35 | |
| 36 | - /** |
|
| 37 | - * @param IOutput $output |
|
| 38 | - * @param Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper` |
|
| 39 | - * @param array $options |
|
| 40 | - * |
|
| 41 | - * @return ISchemaWrapper |
|
| 42 | - */ |
|
| 43 | - public function changeSchema(IOutput $output, Closure $schemaClosure, array $options) { |
|
| 44 | - /** @var ISchemaWrapper $schema */ |
|
| 45 | - $schema = $schemaClosure(); |
|
| 46 | - $table = $schema->getTable('twofactor_backupcodes'); |
|
| 36 | + /** |
|
| 37 | + * @param IOutput $output |
|
| 38 | + * @param Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper` |
|
| 39 | + * @param array $options |
|
| 40 | + * |
|
| 41 | + * @return ISchemaWrapper |
|
| 42 | + */ |
|
| 43 | + public function changeSchema(IOutput $output, Closure $schemaClosure, array $options) { |
|
| 44 | + /** @var ISchemaWrapper $schema */ |
|
| 45 | + $schema = $schemaClosure(); |
|
| 46 | + $table = $schema->getTable('twofactor_backupcodes'); |
|
| 47 | 47 | |
| 48 | - $table->getColumn('code')->setLength(128); |
|
| 48 | + $table->getColumn('code')->setLength(128); |
|
| 49 | 49 | |
| 50 | - return $schema; |
|
| 51 | - } |
|
| 50 | + return $schema; |
|
| 51 | + } |
|
| 52 | 52 | } |
@@ -34,67 +34,67 @@ |
||
| 34 | 34 | * @template-extends QBMapper<PublicKeyCredentialEntity> |
| 35 | 35 | */ |
| 36 | 36 | class PublicKeyCredentialMapper extends QBMapper { |
| 37 | - public function __construct(IDBConnection $db) { |
|
| 38 | - parent::__construct($db, 'webauthn', PublicKeyCredentialEntity::class); |
|
| 39 | - } |
|
| 37 | + public function __construct(IDBConnection $db) { |
|
| 38 | + parent::__construct($db, 'webauthn', PublicKeyCredentialEntity::class); |
|
| 39 | + } |
|
| 40 | 40 | |
| 41 | - public function findOneByCredentialId(string $publicKeyCredentialId): PublicKeyCredentialEntity { |
|
| 42 | - $qb = $this->db->getQueryBuilder(); |
|
| 41 | + public function findOneByCredentialId(string $publicKeyCredentialId): PublicKeyCredentialEntity { |
|
| 42 | + $qb = $this->db->getQueryBuilder(); |
|
| 43 | 43 | |
| 44 | - $qb->select('*') |
|
| 45 | - ->from($this->getTableName()) |
|
| 46 | - ->where( |
|
| 47 | - $qb->expr()->eq('public_key_credential_id', $qb->createNamedParameter(base64_encode($publicKeyCredentialId))) |
|
| 48 | - ); |
|
| 44 | + $qb->select('*') |
|
| 45 | + ->from($this->getTableName()) |
|
| 46 | + ->where( |
|
| 47 | + $qb->expr()->eq('public_key_credential_id', $qb->createNamedParameter(base64_encode($publicKeyCredentialId))) |
|
| 48 | + ); |
|
| 49 | 49 | |
| 50 | - return $this->findEntity($qb); |
|
| 51 | - } |
|
| 50 | + return $this->findEntity($qb); |
|
| 51 | + } |
|
| 52 | 52 | |
| 53 | - /** |
|
| 54 | - * @return PublicKeyCredentialEntity[] |
|
| 55 | - */ |
|
| 56 | - public function findAllForUid(string $uid): array { |
|
| 57 | - $qb = $this->db->getQueryBuilder(); |
|
| 53 | + /** |
|
| 54 | + * @return PublicKeyCredentialEntity[] |
|
| 55 | + */ |
|
| 56 | + public function findAllForUid(string $uid): array { |
|
| 57 | + $qb = $this->db->getQueryBuilder(); |
|
| 58 | 58 | |
| 59 | - $qb->select('*') |
|
| 60 | - ->from($this->getTableName()) |
|
| 61 | - ->where( |
|
| 62 | - $qb->expr()->eq('uid', $qb->createNamedParameter($uid)) |
|
| 63 | - ); |
|
| 59 | + $qb->select('*') |
|
| 60 | + ->from($this->getTableName()) |
|
| 61 | + ->where( |
|
| 62 | + $qb->expr()->eq('uid', $qb->createNamedParameter($uid)) |
|
| 63 | + ); |
|
| 64 | 64 | |
| 65 | - return $this->findEntities($qb); |
|
| 66 | - } |
|
| 65 | + return $this->findEntities($qb); |
|
| 66 | + } |
|
| 67 | 67 | |
| 68 | - /** |
|
| 69 | - * @param string $uid |
|
| 70 | - * @param int $id |
|
| 71 | - * |
|
| 72 | - * @return PublicKeyCredentialEntity |
|
| 73 | - * @throws DoesNotExistException |
|
| 74 | - */ |
|
| 75 | - public function findById(string $uid, int $id): PublicKeyCredentialEntity { |
|
| 76 | - $qb = $this->db->getQueryBuilder(); |
|
| 68 | + /** |
|
| 69 | + * @param string $uid |
|
| 70 | + * @param int $id |
|
| 71 | + * |
|
| 72 | + * @return PublicKeyCredentialEntity |
|
| 73 | + * @throws DoesNotExistException |
|
| 74 | + */ |
|
| 75 | + public function findById(string $uid, int $id): PublicKeyCredentialEntity { |
|
| 76 | + $qb = $this->db->getQueryBuilder(); |
|
| 77 | 77 | |
| 78 | - $qb->select('*') |
|
| 79 | - ->from($this->getTableName()) |
|
| 80 | - ->where($qb->expr()->andX( |
|
| 81 | - $qb->expr()->eq('id', $qb->createNamedParameter($id)), |
|
| 82 | - $qb->expr()->eq('uid', $qb->createNamedParameter($uid)) |
|
| 83 | - )); |
|
| 78 | + $qb->select('*') |
|
| 79 | + ->from($this->getTableName()) |
|
| 80 | + ->where($qb->expr()->andX( |
|
| 81 | + $qb->expr()->eq('id', $qb->createNamedParameter($id)), |
|
| 82 | + $qb->expr()->eq('uid', $qb->createNamedParameter($uid)) |
|
| 83 | + )); |
|
| 84 | 84 | |
| 85 | - return $this->findEntity($qb); |
|
| 86 | - } |
|
| 85 | + return $this->findEntity($qb); |
|
| 86 | + } |
|
| 87 | 87 | |
| 88 | - /** |
|
| 89 | - * @throws \OCP\DB\Exception |
|
| 90 | - */ |
|
| 91 | - public function deleteByUid(string $uid) { |
|
| 92 | - $qb = $this->db->getQueryBuilder(); |
|
| 88 | + /** |
|
| 89 | + * @throws \OCP\DB\Exception |
|
| 90 | + */ |
|
| 91 | + public function deleteByUid(string $uid) { |
|
| 92 | + $qb = $this->db->getQueryBuilder(); |
|
| 93 | 93 | |
| 94 | - $qb->delete($this->getTableName()) |
|
| 95 | - ->where( |
|
| 96 | - $qb->expr()->eq('uid', $qb->createNamedParameter($uid)) |
|
| 97 | - ); |
|
| 98 | - $qb->executeStatement(); |
|
| 99 | - } |
|
| 94 | + $qb->delete($this->getTableName()) |
|
| 95 | + ->where( |
|
| 96 | + $qb->expr()->eq('uid', $qb->createNamedParameter($uid)) |
|
| 97 | + ); |
|
| 98 | + $qb->executeStatement(); |
|
| 99 | + } |
|
| 100 | 100 | } |
@@ -29,107 +29,107 @@ |
||
| 29 | 29 | * @deprecated 23.0.0 |
| 30 | 30 | */ |
| 31 | 31 | interface IUser { |
| 32 | - /** |
|
| 33 | - * @return string |
|
| 34 | - * |
|
| 35 | - * @since 13.0.0 |
|
| 36 | - * @deprecated 23.0.0 |
|
| 37 | - */ |
|
| 38 | - public function getUserId(); |
|
| 32 | + /** |
|
| 33 | + * @return string |
|
| 34 | + * |
|
| 35 | + * @since 13.0.0 |
|
| 36 | + * @deprecated 23.0.0 |
|
| 37 | + */ |
|
| 38 | + public function getUserId(); |
|
| 39 | 39 | |
| 40 | - /** |
|
| 41 | - * @return string |
|
| 42 | - * |
|
| 43 | - * @since 13.0.0 |
|
| 44 | - * @deprecated 23.0.0 |
|
| 45 | - */ |
|
| 46 | - public function getEmail(); |
|
| 40 | + /** |
|
| 41 | + * @return string |
|
| 42 | + * |
|
| 43 | + * @since 13.0.0 |
|
| 44 | + * @deprecated 23.0.0 |
|
| 45 | + */ |
|
| 46 | + public function getEmail(); |
|
| 47 | 47 | |
| 48 | - /** |
|
| 49 | - * @return string |
|
| 50 | - * |
|
| 51 | - * @since 13.0.0 |
|
| 52 | - * @deprecated 23.0.0 |
|
| 53 | - */ |
|
| 54 | - public function getDisplayName(); |
|
| 48 | + /** |
|
| 49 | + * @return string |
|
| 50 | + * |
|
| 51 | + * @since 13.0.0 |
|
| 52 | + * @deprecated 23.0.0 |
|
| 53 | + */ |
|
| 54 | + public function getDisplayName(); |
|
| 55 | 55 | |
| 56 | - /** |
|
| 57 | - * @return string |
|
| 58 | - * |
|
| 59 | - * @since 13.0.0 |
|
| 60 | - * @deprecated 23.0.0 |
|
| 61 | - */ |
|
| 62 | - public function getPhone(); |
|
| 56 | + /** |
|
| 57 | + * @return string |
|
| 58 | + * |
|
| 59 | + * @since 13.0.0 |
|
| 60 | + * @deprecated 23.0.0 |
|
| 61 | + */ |
|
| 62 | + public function getPhone(); |
|
| 63 | 63 | |
| 64 | - /** |
|
| 65 | - * @return string |
|
| 66 | - * |
|
| 67 | - * @since 13.0.0 |
|
| 68 | - * @deprecated 23.0.0 |
|
| 69 | - */ |
|
| 70 | - public function getAddress(); |
|
| 64 | + /** |
|
| 65 | + * @return string |
|
| 66 | + * |
|
| 67 | + * @since 13.0.0 |
|
| 68 | + * @deprecated 23.0.0 |
|
| 69 | + */ |
|
| 70 | + public function getAddress(); |
|
| 71 | 71 | |
| 72 | - /** |
|
| 73 | - * @return string |
|
| 74 | - * |
|
| 75 | - * @since 13.0.0 |
|
| 76 | - * @deprecated 23.0.0 |
|
| 77 | - */ |
|
| 78 | - public function getWebsite(); |
|
| 72 | + /** |
|
| 73 | + * @return string |
|
| 74 | + * |
|
| 75 | + * @since 13.0.0 |
|
| 76 | + * @deprecated 23.0.0 |
|
| 77 | + */ |
|
| 78 | + public function getWebsite(); |
|
| 79 | 79 | |
| 80 | - /** |
|
| 81 | - * @return string |
|
| 82 | - * |
|
| 83 | - * @since 13.0.0 |
|
| 84 | - * @deprecated 23.0.0 |
|
| 85 | - */ |
|
| 86 | - public function getTwitter(); |
|
| 80 | + /** |
|
| 81 | + * @return string |
|
| 82 | + * |
|
| 83 | + * @since 13.0.0 |
|
| 84 | + * @deprecated 23.0.0 |
|
| 85 | + */ |
|
| 86 | + public function getTwitter(); |
|
| 87 | 87 | |
| 88 | - /** |
|
| 89 | - * @return string[] |
|
| 90 | - * |
|
| 91 | - * @since 13.0.0 |
|
| 92 | - * @deprecated 23.0.0 |
|
| 93 | - */ |
|
| 94 | - public function getGroups(); |
|
| 88 | + /** |
|
| 89 | + * @return string[] |
|
| 90 | + * |
|
| 91 | + * @since 13.0.0 |
|
| 92 | + * @deprecated 23.0.0 |
|
| 93 | + */ |
|
| 94 | + public function getGroups(); |
|
| 95 | 95 | |
| 96 | - /** |
|
| 97 | - * @return string |
|
| 98 | - * |
|
| 99 | - * @since 13.0.0 |
|
| 100 | - * @deprecated 23.0.0 |
|
| 101 | - */ |
|
| 102 | - public function getLanguage(); |
|
| 96 | + /** |
|
| 97 | + * @return string |
|
| 98 | + * |
|
| 99 | + * @since 13.0.0 |
|
| 100 | + * @deprecated 23.0.0 |
|
| 101 | + */ |
|
| 102 | + public function getLanguage(); |
|
| 103 | 103 | |
| 104 | - /** |
|
| 105 | - * @return int |
|
| 106 | - * |
|
| 107 | - * @since 13.0.0 |
|
| 108 | - * @deprecated 23.0.0 |
|
| 109 | - */ |
|
| 110 | - public function getUsedSpace(); |
|
| 104 | + /** |
|
| 105 | + * @return int |
|
| 106 | + * |
|
| 107 | + * @since 13.0.0 |
|
| 108 | + * @deprecated 23.0.0 |
|
| 109 | + */ |
|
| 110 | + public function getUsedSpace(); |
|
| 111 | 111 | |
| 112 | - /** |
|
| 113 | - * @return int |
|
| 114 | - * |
|
| 115 | - * @since 13.0.0 |
|
| 116 | - * @deprecated 23.0.0 |
|
| 117 | - */ |
|
| 118 | - public function getFreeSpace(); |
|
| 112 | + /** |
|
| 113 | + * @return int |
|
| 114 | + * |
|
| 115 | + * @since 13.0.0 |
|
| 116 | + * @deprecated 23.0.0 |
|
| 117 | + */ |
|
| 118 | + public function getFreeSpace(); |
|
| 119 | 119 | |
| 120 | - /** |
|
| 121 | - * @return int |
|
| 122 | - * |
|
| 123 | - * @since 13.0.0 |
|
| 124 | - * @deprecated 23.0.0 |
|
| 125 | - */ |
|
| 126 | - public function getTotalSpace(); |
|
| 120 | + /** |
|
| 121 | + * @return int |
|
| 122 | + * |
|
| 123 | + * @since 13.0.0 |
|
| 124 | + * @deprecated 23.0.0 |
|
| 125 | + */ |
|
| 126 | + public function getTotalSpace(); |
|
| 127 | 127 | |
| 128 | - /** |
|
| 129 | - * @return int |
|
| 130 | - * |
|
| 131 | - * @since 13.0.0 |
|
| 132 | - * @deprecated 23.0.0 |
|
| 133 | - */ |
|
| 134 | - public function getQuota(); |
|
| 128 | + /** |
|
| 129 | + * @return int |
|
| 130 | + * |
|
| 131 | + * @since 13.0.0 |
|
| 132 | + * @deprecated 23.0.0 |
|
| 133 | + */ |
|
| 134 | + public function getQuota(); |
|
| 135 | 135 | } |