Compare commits

...

1 Commits

Author SHA1 Message Date
Julius Knorr 027d1cad26 fix: Expose already used public interface methods
Signed-off-by: Julius Knorr <jus@bitgrid.net>
2025-10-24 22:09:18 +02:00
3 changed files with 20 additions and 2 deletions
-1
View File
@@ -1399,7 +1399,6 @@
</InvalidArgument>
<UndefinedInterfaceMethod>
<code><![CDATA[getTemplates]]></code>
<code><![CDATA[open]]></code>
</UndefinedInterfaceMethod>
</file>
<file src="apps/files/lib/Helper.php">
+14 -1
View File
@@ -36,7 +36,7 @@ interface IManager {
public function edit(string $token): Response;
/**
* Create a new token based on the file path and editor details
* Create a file and generate a token based on the file path and editor details
*
* @since 18.0.0
* @param string $path
@@ -49,6 +49,19 @@ interface IManager {
*/
public function create(string $path, string $editorId, string $creatorId, $templateId = null): string;
/**
* Create a token based on an existing file path and editor details
*
* @since 33.0.0
* @param string $filePath
* @param string|null $editorId
* @param int|null $fileId
* @return string
* @throws NotPermittedException
* @throws RuntimeException
*/
public function open(string $filePath, ?string $editorId = null, ?int $fileId = null): string;
/**
* Get the token details for a given token
*
+6
View File
@@ -62,4 +62,10 @@ interface IToken {
* @return string
*/
public function getUser(): string;
/**
* @since 33.0.0
* @return string
*/
public function getToken(): string;
}