Skip to content

Commit

Permalink
Merge pull request #214 from khanhvu14/master
Browse files Browse the repository at this point in the history
Fix `Video::getDuration` typehint
  • Loading branch information
norkunas authored Dec 20, 2023
2 parents 4c2fee7 + e19a0ac commit 76680bf
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 76680bf

Please sign in to comment.