Commit 1659120b authored by jonaslm's avatar jonaslm
Browse files

Ran php-cs-fixer

parent 2bb0f7d1
......@@ -143,13 +143,13 @@ class CreateMeetingParameters extends MetaParameters
*/
private $lockSettingsDisableNote;
/**
* @var bool
*/
private $lockSettingsHideUserList;
/**
* @var bool
*/
private $lockSettingsHideUserList;
/**
* @var bool
/**
* @var bool
*/
private $lockSettingsLockedLayout;
......@@ -158,13 +158,13 @@ class CreateMeetingParameters extends MetaParameters
*/
private $lockSettingsLockOnJoin = true;
/**
* @var bool
*/
private $lockSettingsLockOnJoinConfigurable;
/**
* @var bool
*/
private $lockSettingsLockOnJoinConfigurable;
/**
* @var array
/**
* @var array
*/
private $presentations = [];
......@@ -671,29 +671,29 @@ class CreateMeetingParameters extends MetaParameters
return $this;
}
/**
* @return bool
*/
public function isLockSettingsHideUserList()
{
return $this->lockSettingsHideUserList;
}
/**
* @return bool
*/
public function isLockSettingsHideUserList()
{
return $this->lockSettingsHideUserList;
}
/**
* @param bool $lockSettingsHideUserList
* @return CreateMeetingParameters
*/
public function setLockSettingsHideUserList($lockSettingsHideUserList)
{
$this->lockSettingsHideUserList = $lockSettingsHideUserList;
/**
* @param bool $lockSettingsHideUserList
* @return CreateMeetingParameters
*/
public function setLockSettingsHideUserList($lockSettingsHideUserList)
{
$this->lockSettingsHideUserList = $lockSettingsHideUserList;
return $this;
}
return $this;
}
/**
* @return bool
*/
public function isLockSettingsLockedLayout()
/**
* @return bool
*/
public function isLockSettingsLockedLayout()
{
return $this->lockSettingsLockedLayout;
}
......@@ -728,28 +728,28 @@ class CreateMeetingParameters extends MetaParameters
return $this;
}
/**
* @return bool
*/
public function isLockSettingsLockOnJoinConfigurable()
{
return $this->lockSettingsLockOnJoinConfigurable;
}
/**
* @return bool
*/
public function isLockSettingsLockOnJoinConfigurable()
{
return $this->lockSettingsLockOnJoinConfigurable;
}
/**
* @param bool $lockOnJoinConfigurable
* @return CreateMeetingParameters
*/
public function setLockSettingsLockOnJoinConfigurable($lockOnJoinConfigurable)
{
$this->lockSettingsLockOnJoinConfigurable = $lockOnJoinConfigurable;
/**
* @param bool $lockOnJoinConfigurable
* @return CreateMeetingParameters
*/
public function setLockSettingsLockOnJoinConfigurable($lockOnJoinConfigurable)
{
$this->lockSettingsLockOnJoinConfigurable = $lockOnJoinConfigurable;
return $this;
}
return $this;
}
/**
* @param $endCallbackUrl
* @return CreateMeetingParameters
/**
* @param $endCallbackUrl
* @return CreateMeetingParameters
*/
public function setEndCallbackUrl($endCallbackUrl)
{
......
......@@ -55,11 +55,11 @@ class CreateMeetingParametersTest extends TestCase
$this->assertEquals($params['lockSettingsDisablePrivateChat'], $createMeetingParams->isLockSettingsDisablePrivateChat());
$this->assertEquals($params['lockSettingsDisablePublicChat'], $createMeetingParams->isLockSettingsDisablePublicChat());
$this->assertEquals($params['lockSettingsDisableNote'], $createMeetingParams->isLockSettingsDisableNote());
$this->assertEquals($params['lockSettingsHideUserList'], $createMeetingParams->isLockSettingsHideUserList());
$this->assertEquals($params['lockSettingsLockedLayout'], $createMeetingParams->isLockSettingsLockedLayout());
$this->assertEquals($params['lockSettingsHideUserList'], $createMeetingParams->isLockSettingsHideUserList());
$this->assertEquals($params['lockSettingsLockedLayout'], $createMeetingParams->isLockSettingsLockedLayout());
$this->assertEquals($params['lockSettingsLockOnJoin'], $createMeetingParams->isLockSettingsLockOnJoin());
$this->assertEquals($params['lockSettingsLockOnJoinConfigurable'], $createMeetingParams->isLockSettingsLockOnJoinConfigurable());
$this->assertEquals($params['meta_presenter'], $createMeetingParams->getMeta('presenter'));
$this->assertEquals($params['lockSettingsLockOnJoinConfigurable'], $createMeetingParams->isLockSettingsLockOnJoinConfigurable());
$this->assertEquals($params['meta_presenter'], $createMeetingParams->getMeta('presenter'));
$this->assertEquals($params['meta_endCallbackUrl'], $createMeetingParams->getMeta('endCallbackUrl'));
// Check values are empty of this is not a breakout room
......
......@@ -91,11 +91,11 @@ class TestCase extends \PHPUnit\Framework\TestCase
'lockSettingsDisablePrivateChat' => $this->faker->boolean(50),
'lockSettingsDisablePublicChat' => $this->faker->boolean(50),
'lockSettingsDisableNote' => $this->faker->boolean(50),
'lockSettingsHideUserList' => $this->faker->boolean(50),
'lockSettingsLockedLayout' => $this->faker->boolean(50),
'lockSettingsHideUserList' => $this->faker->boolean(50),
'lockSettingsLockedLayout' => $this->faker->boolean(50),
'lockSettingsLockOnJoin' => $this->faker->boolean(50),
'lockSettingsLockOnJoinConfigurable' => $this->faker->boolean(50),
'meta_presenter' => $this->faker->name,
'lockSettingsLockOnJoinConfigurable' => $this->faker->boolean(50),
'meta_presenter' => $this->faker->name,
'meta_endCallbackUrl' => $this->faker->url
];
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment