Преглед изворни кода
Add resource type phpDoc for putContent methods
Signed-off-by: Julius Härtl <jus@bitgrid.net>
tags/v14.0.0beta1
Julius Härtl
пре 6 година
No account linked to committer's email address
|
|
@@ -56,7 +56,7 @@ class File extends Node implements \OCP\Files\File { |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* @param string $data |
|
|
|
* @param string|resource $data |
|
|
|
* @throws \OCP\Files\NotPermittedException |
|
|
|
* @throws \OCP\Files\GenericFileException |
|
|
|
*/ |
|
|
@@ -97,7 +97,7 @@ class SimpleFile implements ISimpleFile { |
|
|
|
/** |
|
|
|
* Overwrite the file |
|
|
|
* |
|
|
|
* @param string $data |
|
|
|
* @param string|resource $data |
|
|
|
* @throws NotPermittedException |
|
|
|
*/ |
|
|
|
public function putContent($data) { |
|
|
@@ -632,7 +632,7 @@ class View { |
|
|
|
|
|
|
|
/** |
|
|
|
* @param string $path |
|
|
|
* @param mixed $data |
|
|
|
* @param string|resource $data |
|
|
|
* @return bool|mixed |
|
|
|
* @throws \Exception |
|
|
|
*/ |
|
|
@@ -51,7 +51,7 @@ interface File extends Node { |
|
|
|
/** |
|
|
|
* Write to the file from string data |
|
|
|
* |
|
|
|
* @param string $data |
|
|
|
* @param string|resource $data |
|
|
|
* @throws \OCP\Files\NotPermittedException |
|
|
|
* @throws \OCP\Files\GenericFileException |
|
|
|
* @since 6.0.0 |
|
|
@@ -78,7 +78,7 @@ interface ISimpleFile { |
|
|
|
/** |
|
|
|
* Overwrite the file |
|
|
|
* |
|
|
|
* @param string $data |
|
|
|
* @param string|resource $data |
|
|
|
* @throws NotPermittedException |
|
|
|
* @since 11.0.0 |
|
|
|
*/ |