mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
adjust PHPDoc
This commit is contained in:
parent
ffc49a24f0
commit
19d1e0ebb9
2 changed files with 4 additions and 0 deletions
|
|
@ -48,6 +48,8 @@ class SystemTagsByIdCollection implements ICollection {
|
|||
|
||||
/**
|
||||
* @param string $name
|
||||
* @param resource|string $data Initial payload
|
||||
* @throws Forbidden
|
||||
*/
|
||||
function createFile($name, $data = null) {
|
||||
throw new Forbidden('Cannot create tags by id');
|
||||
|
|
|
|||
|
|
@ -63,6 +63,8 @@ class SystemTagsObjectTypeCollection implements ICollection {
|
|||
|
||||
/**
|
||||
* @param string $name
|
||||
* @param resource|string $data Initial payload
|
||||
* @throws Forbidden
|
||||
*/
|
||||
function createFile($name, $data = null) {
|
||||
throw new Forbidden('Permission denied to create nodes');
|
||||
|
|
|
|||
Loading…
Reference in a new issue