Skip to content

Commit 8a59763

Browse files
authored
Small consistency fix for InsertDocumentParameters (#138)
1 parent 2f7e40e commit 8a59763

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

src/Parameters/InsertDocumentParameters.php

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@ public function __construct(string $meetingID)
4141
$this->meetingID = $meetingID;
4242
}
4343

44+
/**
45+
* @return $this
46+
*/
4447
public function addPresentation(string $url, string $filename, ?bool $downloadable = null, ?bool $removable = null): self
4548
{
4649
$this->presentations[$url] = [
@@ -52,9 +55,14 @@ public function addPresentation(string $url, string $filename, ?bool $downloadab
5255
return $this;
5356
}
5457

55-
public function removePresentation(string $url): void
58+
/**
59+
* @return $this
60+
*/
61+
public function removePresentation(string $url): self
5662
{
5763
unset($this->presentations[$url]);
64+
65+
return $this;
5866
}
5967

6068
/**

0 commit comments

Comments
 (0)