From e19a0acd241243d647fcdaa29f90d47b2b14dd8d Mon Sep 17 00:00:00 2001 From: Vu Duy Khanh Date: Wed, 6 Dec 2023 21:06:02 +0700 Subject: [PATCH] Fix Video::getDuration typehint facebook reels the duration is float. --- src/Entity/Video.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Entity/Video.php b/src/Entity/Video.php index c7d8126..36043c3 100644 --- a/src/Entity/Video.php +++ b/src/Entity/Video.php @@ -112,7 +112,7 @@ public function getLocation(): ?string return $this->get('location'); } - public function getDuration(): ?int + public function getDuration(): ?float { return $this->get('duration'); }