Skip to content

Commit

Permalink
fixing phpdoc
Browse files Browse the repository at this point in the history
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
  • Loading branch information
ArtificialOwl committed Mar 4, 2019
1 parent 3bdc78e commit adfadf8
Show file tree
Hide file tree
Showing 4 changed files with 73 additions and 63 deletions.
42 changes: 21 additions & 21 deletions lib/private/FullTextSearch/Model/DocumentAccess.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
*
* @see IIndexDocument::setAccess
*
* @since 15.0.0
* @since 16.0.0
*
* @package OC\FullTextSearch\Model
*/
Expand Down Expand Up @@ -80,7 +80,7 @@ final class DocumentAccess implements IDocumentAccess, JsonSerializable {
/**
* Owner of the document can be set at the init of the object.
*
* @since 15.0.0
* @since 16.0.0
*
* IDocumentAccess constructor.
*
Expand All @@ -94,7 +94,7 @@ public function __construct(string $ownerId = '') {
/**
* Set the Owner of the document.
*
* @since 15.0.0
* @since 16.0.0
*
* @param string $ownerId
*
Expand All @@ -109,7 +109,7 @@ public function setOwnerId(string $ownerId): IDocumentAccess {
/**
* Get the Owner of the document.
*
* @since 15.0.0
* @since 16.0.0
*
* @return string
*/
Expand All @@ -121,7 +121,7 @@ public function getOwnerId(): string {
/**
* Set the viewer of the document.
*
* @since 15.0.0
* @since 16.0.0
*
* @param string $viewerId
*
Expand All @@ -136,7 +136,7 @@ public function setViewerId(string $viewerId): IDocumentAccess {
/**
* Get the viewer of the document.
*
* @since 15.0.0
* @since 16.0.0
*
* @return string
*/
Expand All @@ -148,7 +148,7 @@ public function getViewerId(): string {
/**
* Set the list of users that have read access to the document.
*
* @since 15.0.0
* @since 16.0.0
*
* @param array $users
*
Expand All @@ -163,7 +163,7 @@ public function setUsers(array $users): IDocumentAccess {
/**
* Add an entry to the list of users that have read access to the document.
*
* @since 15.0.0
* @since 16.0.0
*
* @param string $user
*
Expand All @@ -179,7 +179,7 @@ public function addUser(string $user): IDocumentAccess {
* Add multiple entries to the list of users that have read access to the
* document.
*
* @since 15.0.0
* @since 16.0.0
*
* @param array $users
*
Expand All @@ -194,7 +194,7 @@ public function addUsers($users): IDocumentAccess {
/**
* Get the complete list of users that have read access to the document.
*
* @since 15.0.0
* @since 16.0.0
*
* @return array
*/
Expand All @@ -206,7 +206,7 @@ public function getUsers(): array {
/**
* Set the list of groups that have read access to the document.
*
* @since 15.0.0
* @since 16.0.0
*
* @param array $groups
*
Expand All @@ -221,7 +221,7 @@ public function setGroups(array $groups): IDocumentAccess {
/**
* Add an entry to the list of groups that have read access to the document.
*
* @since 15.0.0
* @since 16.0.0
*
* @param string $group
*
Expand All @@ -237,7 +237,7 @@ public function addGroup(string $group): IDocumentAccess {
* Add multiple entries to the list of groups that have read access to the
* document.
*
* @since 15.0.0
* @since 16.0.0
*
* @param array $groups
*
Expand All @@ -252,7 +252,7 @@ public function addGroups(array $groups) {
/**
* Get the complete list of groups that have read access to the document.
*
* @since 15.0.0
* @since 16.0.0
*
* @return array
*/
Expand All @@ -264,7 +264,7 @@ public function getGroups(): array {
/**
* Set the list of circles that have read access to the document.
*
* @since 15.0.0
* @since 16.0.0
*
* @param array $circles
*
Expand All @@ -279,7 +279,7 @@ public function setCircles(array $circles): IDocumentAccess {
/**
* Add an entry to the list of circles that have read access to the document.
*
* @since 15.0.0
* @since 16.0.0
*
* @param string $circle
*
Expand All @@ -295,7 +295,7 @@ public function addCircle(string $circle): IDocumentAccess {
* Add multiple entries to the list of groups that have read access to the
* document.
*
* @since 15.0.0
* @since 16.0.0
*
* @param array $circles
*
Expand All @@ -310,7 +310,7 @@ public function addCircles(array $circles): IDocumentAccess {
/**
* Get the complete list of circles that have read access to the document.
*
* @since 15.0.0
* @since 16.0.0
*
* @return array
*/
Expand All @@ -322,7 +322,7 @@ public function getCircles(): array {
/**
* Set the list of links that have read access to the document.
*
* @since 15.0.0
* @since 16.0.0
*
* @param array $links
*
Expand All @@ -337,7 +337,7 @@ public function setLinks(array $links): IDocumentAccess {
/**
* Get the list of links that have read access to the document.
*
* @since 15.0.0
* @since 16.0.0
*
* @return array
*/
Expand All @@ -347,7 +347,7 @@ public function getLinks(): array {


/**
* @since 15.0.0
* @since 16.0.0
*
* @return array
*/
Expand Down
40 changes: 20 additions & 20 deletions lib/public/FullTextSearch/Model/IDocumentAccess.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
*
* @see IIndexDocument::setAccess
*
* @since 15.0.0
* @since 16.0.0
*
* @package OCP\FullTextSearch\Model
*/
Expand All @@ -57,7 +57,7 @@ interface IDocumentAccess {
/**
* Owner of the document can be set at the init of the object.
*
* @since 15.0.0
* @since 16.0.0
*
* IDocumentAccess constructor.
*
Expand All @@ -69,7 +69,7 @@ public function __construct(string $ownerId = '');
/**
* Set the Owner of the document.
*
* @since 15.0.0
* @since 16.0.0
*
* @param string $ownerId
*
Expand All @@ -80,7 +80,7 @@ public function setOwnerId(string $ownerId): IDocumentAccess;
/**
* Get the Owner of the document.
*
* @since 15.0.0
* @since 16.0.0
*
* @return string
*/
Expand All @@ -90,7 +90,7 @@ public function getOwnerId(): string;
/**
* Set the viewer of the document.
*
* @since 15.0.0
* @since 16.0.0
*
* @param string $viewerId
*
Expand All @@ -101,7 +101,7 @@ public function setViewerId(string $viewerId): IDocumentAccess;
/**
* Get the viewer of the document.
*
* @since 15.0.0
* @since 16.0.0
*
* @return string
*/
Expand All @@ -111,7 +111,7 @@ public function getViewerId(): string;
/**
* Set the list of users that have read access to the document.
*
* @since 15.0.0
* @since 16.0.0
*
* @param array $users
*
Expand All @@ -122,7 +122,7 @@ public function setUsers(array $users): IDocumentAccess;
/**
* Add an entry to the list of users that have read access to the document.
*
* @since 15.0.0
* @since 16.0.0
*
* @param string $user
*
Expand All @@ -134,7 +134,7 @@ public function addUser(string $user): IDocumentAccess;
* Add multiple entries to the list of users that have read access to the
* document.
*
* @since 15.0.0
* @since 16.0.0
*
* @param array $users
*
Expand All @@ -145,7 +145,7 @@ public function addUsers($users): IDocumentAccess;
/**
* Get the complete list of users that have read access to the document.
*
* @since 15.0.0
* @since 16.0.0
*
* @return array
*/
Expand All @@ -155,7 +155,7 @@ public function getUsers(): array;
/**
* Set the list of groups that have read access to the document.
*
* @since 15.0.0
* @since 16.0.0
*
* @param array $groups
*
Expand All @@ -166,7 +166,7 @@ public function setGroups(array $groups): IDocumentAccess;
/**
* Add an entry to the list of groups that have read access to the document.
*
* @since 15.0.0
* @since 16.0.0
*
* @param string $group
*
Expand All @@ -178,7 +178,7 @@ public function addGroup(string $group): IDocumentAccess;
* Add multiple entries to the list of groups that have read access to the
* document.
*
* @since 15.0.0
* @since 16.0.0
*
* @param array $groups
*
Expand All @@ -189,7 +189,7 @@ public function addGroups(array $groups);
/**
* Get the complete list of groups that have read access to the document.
*
* @since 15.0.0
* @since 16.0.0
*
* @return array
*/
Expand All @@ -199,7 +199,7 @@ public function getGroups(): array;
/**
* Set the list of circles that have read access to the document.
*
* @since 15.0.0
* @since 16.0.0
*
* @param array $circles
*
Expand All @@ -210,7 +210,7 @@ public function setCircles(array $circles): IDocumentAccess;
/**
* Add an entry to the list of circles that have read access to the document.
*
* @since 15.0.0
* @since 16.0.0
*
* @param string $circle
*
Expand All @@ -222,7 +222,7 @@ public function addCircle(string $circle): IDocumentAccess;
* Add multiple entries to the list of groups that have read access to the
* document.
*
* @since 15.0.0
* @since 16.0.0
*
* @param array $circles
*
Expand All @@ -233,7 +233,7 @@ public function addCircles(array $circles): IDocumentAccess;
/**
* Get the complete list of circles that have read access to the document.
*
* @since 15.0.0
* @since 16.0.0
*
* @return array
*/
Expand All @@ -243,7 +243,7 @@ public function getCircles(): array;
/**
* Set the list of links that have read access to the document.
*
* @since 15.0.0
* @since 16.0.0
*
* @param array $links
*
Expand All @@ -254,7 +254,7 @@ public function setLinks(array $links): IDocumentAccess;
/**
* Get the list of links that have read access to the document.
*
* @since 15.0.0
* @since 16.0.0
*
* @return array
*/
Expand Down
Loading

0 comments on commit adfadf8

Please sign in to comment.