remove the JsonSerializable interface from \OC\Files\FileInfo
This commit is contained in:
parent
2a7509ee50
commit
09502fcb36
|
@ -8,7 +8,7 @@
|
||||||
|
|
||||||
namespace OC\Files;
|
namespace OC\Files;
|
||||||
|
|
||||||
class FileInfo implements \OCP\Files\FileInfo, \ArrayAccess, \JsonSerializable {
|
class FileInfo implements \OCP\Files\FileInfo, \ArrayAccess {
|
||||||
/**
|
/**
|
||||||
* @var array $data
|
* @var array $data
|
||||||
*/
|
*/
|
||||||
|
@ -52,10 +52,6 @@ class FileInfo implements \OCP\Files\FileInfo, \ArrayAccess, \JsonSerializable {
|
||||||
return $this->data[$offset];
|
return $this->data[$offset];
|
||||||
}
|
}
|
||||||
|
|
||||||
public function jsonSerialize() {
|
|
||||||
return $this->data;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return string
|
* @return string
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue