Skip to content

Commit

Permalink
small typing issue with the setDuration method
Browse files Browse the repository at this point in the history
changed the expected argument parameter from int to ?int to add more flexibility
  • Loading branch information
waddahadel authored Jan 31, 2024
1 parent 5e30a0d commit 16706bb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,7 @@ public function getDuration(): int
* value, then when the length of the meeting exceeds the duration value the server will immediately end the
* meeting (equivalent to receiving an end API request at that moment).
*/
public function setDuration(int $duration): self
public function setDuration(?int $duration): self
{
$this->duration = $duration;

Expand Down

0 comments on commit 16706bb

Please sign in to comment.