@@ -29,9 +29,9 @@ class CreateMeetingParameters extends MetaParameters
2929{
3030 use DocumentableTrait;
3131
32- private ? string $ meetingId = null ;
32+ private string $ meetingId ;
3333
34- private ? string $ meetingName = null ;
34+ private string $ meetingName ;
3535
3636 /**
3737 * @deprecated Password-string replaced by an Enum\Role-constant in JoinMeetingParameters::__construct()
@@ -183,11 +183,8 @@ class CreateMeetingParameters extends MetaParameters
183183
184184 /**
185185 * CreateMeetingParameters constructor.
186- *
187- * @param mixed $meetingId
188- * @param mixed $meetingName
189186 */
190- public function __construct ($ meetingId = null , $ meetingName = null )
187+ public function __construct (string $ meetingId, string $ meetingName )
191188 {
192189 $ this ->meetingId = $ meetingId ;
193190 $ this ->meetingName = $ meetingName ;
@@ -609,12 +606,9 @@ public function isVirtualBackgroundsDisabled(): ?bool
609606 * Default: false
610607 *
611608 * @since 2.4.3
612- *
613- * @param mixed $virtualBackgroundsDisabled
614- *
615609 * @deprecated Removed in 2.5, temporarily still handled, please transition to disabledFeatures.
616610 */
617- public function setVirtualBackgroundsDisabled ($ virtualBackgroundsDisabled ): self
611+ public function setVirtualBackgroundsDisabled (bool $ virtualBackgroundsDisabled ): self
618612 {
619613 $ this ->virtualBackgroundsDisabled = $ virtualBackgroundsDisabled ;
620614
@@ -998,10 +992,7 @@ public function setEndCallbackUrl($endCallbackUrl): self
998992 return $ this ;
999993 }
1000994
1001- /**
1002- * @param mixed $recordingReadyCallbackUrl
1003- */
1004- public function setRecordingReadyCallbackUrl ($ recordingReadyCallbackUrl ): self
995+ public function setRecordingReadyCallbackUrl (string $ recordingReadyCallbackUrl ): self
1005996 {
1006997 $ this ->addMeta ('bbb-recording-ready-url ' , $ recordingReadyCallbackUrl );
1007998
@@ -1102,11 +1093,9 @@ public function isBreakoutRoomsEnabled(): ?bool
11021093 *
11031094 * Default: true
11041095 *
1105- * @param mixed $breakoutRoomsEnabled
1106- *
11071096 * @deprecated Removed in 2.5, temporarily still handled, please transition to disabledFeatures.
11081097 */
1109- public function setBreakoutRoomsEnabled ($ breakoutRoomsEnabled ): self
1098+ public function setBreakoutRoomsEnabled (bool $ breakoutRoomsEnabled ): self
11101099 {
11111100 $ this ->breakoutRoomsEnabled = $ breakoutRoomsEnabled ;
11121101
@@ -1195,10 +1184,8 @@ public function isAllowRequestsWithoutSession(): ?bool
11951184 * Default: false
11961185 *
11971186 * @since 2.4.3
1198- *
1199- * @param mixed $allowRequestsWithoutSession
12001187 */
1201- public function setAllowRequestsWithoutSession ($ allowRequestsWithoutSession ): self
1188+ public function setAllowRequestsWithoutSession (bool $ allowRequestsWithoutSession ): self
12021189 {
12031190 $ this ->allowRequestsWithoutSession = $ allowRequestsWithoutSession ;
12041191
@@ -1447,11 +1434,9 @@ public function getBreakoutRoomsGroups(): array
14471434 }
14481435
14491436 /**
1450- * @param mixed $id
1451- * @param mixed $name
1452- * @param mixed $roster
1437+ * @param array<int, string> $roster
14531438 */
1454- public function addBreakoutRoomsGroup ($ id , $ name , $ roster ): self
1439+ public function addBreakoutRoomsGroup (mixed $ id , string $ name , array $ roster ): self
14551440 {
14561441 $ this ->breakoutRoomsGroups [] = ['id ' => $ id , 'name ' => $ name , 'roster ' => $ roster ];
14571442
0 commit comments