Skip to content

Commit

Permalink
Fix Video::getDuration typehint
Browse files Browse the repository at this point in the history
facebook reels the duration is float.
  • Loading branch information
Vu Duy Khanh authored and norkunas committed Dec 20, 2023
1 parent 4c2fee7 commit e19a0ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Entity/Video.php
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ public function getLocation(): ?string
return $this->get('location');
}

public function getDuration(): ?int
public function getDuration(): ?float
{
return $this->get('duration');
}
Expand Down

0 comments on commit e19a0ac

Please sign in to comment.