Fix filemanager file edit bug, closes #867
This commit is contained in:
parent
2212f28351
commit
c69f48ad83
3 changed files with 5 additions and 4 deletions
|
@ -21,11 +21,11 @@ interface FileRepositoryInterface extends BaseRepositoryInterface
|
|||
* Return the contents of a given file if it can be edited in the Panel.
|
||||
*
|
||||
* @param string $path
|
||||
* @return \stdClass
|
||||
* @return string
|
||||
*
|
||||
* @throws \GuzzleHttp\Exception\RequestException
|
||||
*/
|
||||
public function getContent(string $path): stdClass;
|
||||
public function getContent(string $path): string;
|
||||
|
||||
/**
|
||||
* Save new contents to a given file.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue