Skip to content

Commit 91330d6

Browse files
Apply suggestions from code review
Co-authored-by: Felix Jacobi <felix@jacobi-hamburg.net>
1 parent 692e0aa commit 91330d6

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/Parameters/CreateMeetingParameters.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -538,15 +538,15 @@ public function isBreakout()
538538
/**
539539
* @return bool
540540
*/
541-
public function isUserCameraCapDisabled()
541+
public function isUserCameraCapDisabled(): bool
542542
{
543543
return $this->userCameraCap === 0;
544544
}
545545

546546
/**
547547
* @return CreateMeetingParameters
548548
*/
549-
public function disableUserCameraCap()
549+
public function disableUserCameraCap(): self
550550
{
551551
$this->userCameraCap = 0;
552552

tests/unit/Parameters/CreateMeetingParametersTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ public function testGetPresentationsAsXMLWithFile()
158158
$this->assertXmlStringEqualsXmlFile(__DIR__ . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'fixtures' . DIRECTORY_SEPARATOR . 'presentation_with_embedded_file.xml', $createMeetingParams->getPresentationsAsXML());
159159
}
160160

161-
public function testUserCameraCap()
161+
public function testUserCameraCap(): void
162162
{
163163
$params = $this->generateCreateParams();
164164
$createMeetingParams = $this->getCreateMock($params);

0 commit comments

Comments
 (0)