Skip to content

Commit 83bf2ce

Browse files
Merge pull request #100 from joisarjignesh/analysis-xDg0r0
Apply fixes from StyleCI
2 parents 0dfcd9b + 86478b5 commit 83bf2ce

File tree

3 files changed

+42
-35
lines changed

3 files changed

+42
-35
lines changed

config/bigbluebutton.php

Lines changed: 23 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@
335335
*/
336336
'userCameraCap' => 3,
337337

338-
/**
338+
/**
339339
* List of features to disable in a particular meeting.
340340
* Can be provided as a comma-separated string or array.
341341
*
@@ -374,16 +374,16 @@
374374
* - quizzes (BBB 3.0+)
375375
*
376376
* @var string|array|null
377-
* Default: ''
377+
* Default: ''
378378
*/
379379
'disabledFeatures' => '',
380380

381-
/**
381+
/**
382382
* List of features to EXCLUDE from disabled features.
383383
* Same options as "disabledFeatures".
384384
*
385385
* @var string|array|null
386-
* Default: ''
386+
* Default: ''
387387
*/
388388
'disabledFeaturesExclude' => '',
389389

@@ -392,15 +392,16 @@
392392
* If false, default.pdf is sent.
393393
*
394394
* @var bool
395-
* Default: true
395+
* Default: true
396396
*/
397397
'preUploadedPresentationOverrideDefault' => true,
398398

399399
/**
400400
* If true, show consent modal when recording starts.
401401
*
402402
* @var bool
403-
* Default: false
403+
* Default: false
404+
*
404405
* @since 2.6
405406
*/
406407
'notifyRecordingIsOn' => false,
@@ -410,7 +411,8 @@
410411
* Only works if presentationUploadExternalDescription is also set.
411412
*
412413
* @var string|null
413-
* Default: null
414+
* Default: null
415+
*
414416
* @since 2.6
415417
*/
416418
'presentationUploadExternalUrl' => null,
@@ -420,17 +422,19 @@
420422
* Only works if presentationUploadExternalUrl is set.
421423
*
422424
* @var string|null
423-
* Default: null
425+
* Default: null
426+
*
424427
* @since 2.6
425428
*/
426429
'presentationUploadExternalDescription' => null,
427430

428-
/**
431+
/**
429432
* If true, capture full duration of media (audio, camera, screenshare).
430433
* If false, capture media only while recording is running.
431434
*
432435
* @var bool
433-
* Default: false
436+
* Default: false
437+
*
434438
* @since 2.6.9
435439
*/
436440
'recordFullDurationMedia' => false,
@@ -439,29 +443,32 @@
439443
* URL of a pre-uploaded presentation file.
440444
*
441445
* @var string|null
442-
* Default: null
446+
* Default: null
447+
*
443448
* @since 2.7.2
444449
*/
445450
'preUploadedPresentation' => null,
446451

447-
/**
452+
/**
448453
* Custom name for the pre-uploaded presentation.
449454
*
450455
* @var string|null
451-
* Default: null
456+
* Default: null
457+
*
452458
* @since 2.7.2
453459
*/
454460
'preUploadedPresentationName' => null,
455461

456462
/**
457463
* If passed as true, we allow moderators to promote guests to moderators even if the authenticatedGuest config is enabled.
458-
* The defaultAllowPromoteGuestToModerator configuration sets this behaviour globally for all meetings if no api parameter is passed
464+
* The defaultAllowPromoteGuestToModerator configuration sets this behaviour globally for all meetings if no api parameter is passed.
459465
*
460466
* @var bool
461-
* Default: false
467+
* Default: false
468+
*
462469
* @since 2.7.9
463470
*/
464-
'allowPromoteGuestToModerator' => false
471+
'allowPromoteGuestToModerator' => false,
465472
],
466473
'join' => [
467474
/**

src/Bbb.php

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ public function isMeetingRunning($meeting)
166166
* Join meeting.
167167
*
168168
* @param $meeting
169-
* required fields
169+
* required fields
170170
*
171171
* meetingID
172172
* userName join by name
@@ -190,9 +190,9 @@ public function join($meeting)
190190
* Returns information about the meeting.
191191
*
192192
* @param $meeting
193-
* required fields
194-
* meetingID
195-
* moderatorPW must be there moderator password
193+
* required fields
194+
* meetingID
195+
* moderatorPW must be there moderator password
196196
* @return \Illuminate\Support\Collection
197197
*/
198198
public function getMeetingInfo($meeting)
@@ -229,9 +229,9 @@ public function start($parameters)
229229
* Close meeting.
230230
*
231231
* @param $meeting
232-
* required fields:
233-
* meetingID
234-
* moderatorPW close meeting must be there moderator password
232+
* required fields:
233+
* meetingID
234+
* moderatorPW close meeting must be there moderator password
235235
* @return bool
236236
*/
237237
public function close($meeting)
@@ -250,8 +250,8 @@ public function close($meeting)
250250

251251
/**
252252
* @param $recording
253-
* required fields
254-
* meetingID
253+
* required fields
254+
* meetingID
255255
*
256256
* optional fields
257257
* recordID
@@ -279,8 +279,8 @@ public function getRecordings($recording)
279279

280280
/**
281281
* @param $recording
282-
* recordID as string(separated by comma)
283-
* publish as bool
282+
* recordID as string(separated by comma)
283+
* publish as bool
284284
* @return bool
285285
*/
286286
public function publishRecordings($recording)

src/Services/InitMeeting.php

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -158,16 +158,16 @@ public function initCreateMeeting(array $parameters)
158158
$meetingParams->setRecordingReadyCallbackUrl($request->get('bbb-recording-ready-url', null));
159159
}
160160
$disabledFeatures = $request->get('disabledFeatures', config('bigbluebutton.create.disabledFeatures', null));
161-
if (!empty($disabledFeatures)) {
162-
if (!is_array($disabledFeatures)) {
161+
if (! empty($disabledFeatures)) {
162+
if (! is_array($disabledFeatures)) {
163163
$disabledFeatures = explode(',', $disabledFeatures);
164164
}
165165

166166
$meetingParams->setDisabledFeatures($disabledFeatures);
167167
}
168168
$disabledFeaturesExclude = $request->get('disabledFeaturesExclude', config('bigbluebutton.create.disabledFeaturesExclude', null));
169-
if (!empty($request->get('disabledFeaturesExclude'))) {
170-
if (!is_array($disabledFeaturesExclude)) {
169+
if (! empty($request->get('disabledFeaturesExclude'))) {
170+
if (! is_array($disabledFeaturesExclude)) {
171171
$disabledFeaturesExclude = explode(',', $disabledFeaturesExclude);
172172
}
173173

@@ -180,22 +180,22 @@ public function initCreateMeeting(array $parameters)
180180
(bool) $request->get('notifyRecordingIsOn', config('bigbluebutton.create.notifyRecordingIsOn', false))
181181
);
182182
$presentationUploadExternalUrl = $request->get('presentationUploadExternalUrl', config('bigbluebutton.create.presentationUploadExternalUrl'));
183-
if (!empty($presentationUploadExternalUrl)) {
183+
if (! empty($presentationUploadExternalUrl)) {
184184
$meetingParams->setPresentationUploadExternalUrl($presentationUploadExternalUrl);
185185
}
186186
$presentationUploadExternalDescription = $request->get('presentationUploadExternalDescription', config('bigbluebutton.create.presentationUploadExternalDescription'));
187-
if (!empty($presentationUploadExternalDescription)) {
187+
if (! empty($presentationUploadExternalDescription)) {
188188
$meetingParams->setPresentationUploadExternalDescription($presentationUploadExternalDescription);
189189
}
190190
$meetingParams->setRecordFullDurationMedia(
191191
(bool) $request->get('recordFullDurationMedia', config('bigbluebutton.create.recordFullDurationMedia', false))
192192
);
193193
$preUploadedPresentation = $request->get('preUploadedPresentation', config('bigbluebutton.create.preUploadedPresentation'));
194-
if (!empty($preUploadedPresentation)) {
194+
if (! empty($preUploadedPresentation)) {
195195
$meetingParams->setPreUploadedPresentation($preUploadedPresentation);
196196
}
197197
$preUploadedPresentationName = $request->get('preUploadedPresentationName', config('bigbluebutton.create.preUploadedPresentationName'));
198-
if (!empty($preUploadedPresentationName)) {
198+
if (! empty($preUploadedPresentationName)) {
199199
$meetingParams->setPreUploadedPresentationName($preUploadedPresentationName);
200200
}
201201
$meetingParams->setAllowPromoteGuestToModerator(

0 commit comments

Comments
 (0)