From f1f13996f920ebddf81408445478aa10611b2d7c Mon Sep 17 00:00:00 2001 From: Pol Dellaiera Date: Thu, 30 Sep 2021 12:07:47 +0200 Subject: [PATCH] fix: Fix missing parameter. --- .../ChillWopiBundle/src/Service/Wopi/ChillDocumentManager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Bundle/ChillWopiBundle/src/Service/Wopi/ChillDocumentManager.php b/src/Bundle/ChillWopiBundle/src/Service/Wopi/ChillDocumentManager.php index 62362d48f..ac3de1729 100644 --- a/src/Bundle/ChillWopiBundle/src/Service/Wopi/ChillDocumentManager.php +++ b/src/Bundle/ChillWopiBundle/src/Service/Wopi/ChillDocumentManager.php @@ -190,7 +190,7 @@ final class ChillDocumentManager implements DocumentManagerInterface } public function getSize(Document $document): int { - return strlen($this->getContent()); + return strlen($this->getContent($document)); } public function read(Document $document): StreamInterface {