Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Core/Attendee.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

namespace BigBlueButton\Core;

class Attendee
final class Attendee
{
private readonly string $userId;

Expand Down
4 changes: 2 additions & 2 deletions src/Core/Hook.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
/**
* Class Meeting.
*/
class Hook
final class Hook
{
private readonly int $hookId;

Expand All @@ -37,7 +37,7 @@ class Hook

private readonly bool $rawData;

public function __construct(protected \SimpleXMLElement $rawXml)
public function __construct(private readonly \SimpleXMLElement $rawXml)
{
$this->hookId = (int) $this->rawXml->hookID->__toString();
$this->callbackUrl = $this->rawXml->callbackURL->__toString();
Expand Down
2 changes: 1 addition & 1 deletion src/Core/ImagePreview.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

namespace BigBlueButton\Core;

class ImagePreview
final class ImagePreview
{
public function __construct(
private readonly int $width,
Expand Down
4 changes: 2 additions & 2 deletions src/Core/Meeting.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
/**
* Class Meeting.
*/
class Meeting
final class Meeting
{
private readonly string $meetingId;

Expand Down Expand Up @@ -80,7 +80,7 @@ class Meeting

private readonly bool $isBreakout;

public function __construct(protected \SimpleXMLElement $rawXml)
public function __construct(private readonly \SimpleXMLElement $rawXml)
{
$this->meetingId = $this->rawXml->meetingID->__toString();
$this->meetingName = $this->rawXml->meetingName->__toString();
Expand Down
2 changes: 1 addition & 1 deletion src/Core/PlaybackFormat.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

namespace BigBlueButton\Core;

class PlaybackFormat
final class PlaybackFormat
{
private readonly string $type;

Expand Down
2 changes: 1 addition & 1 deletion src/Core/Record.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
/**
* Class Record.
*/
class Record
final class Record
{
private readonly string $recordId;
private readonly string $meetingId;
Expand Down
2 changes: 1 addition & 1 deletion src/Core/Track.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
/**
* Class Track.
*/
class Track
final class Track
{
private readonly string $href;

Expand Down
2 changes: 1 addition & 1 deletion src/Http/Transport/TransportRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
/**
* Represents request data to be passed to {@link TransportInterface} for talking to BBB server.
*/
class TransportRequest
final class TransportRequest
{
public function __construct(private readonly string $url, private readonly string $payload, private readonly string $contentType)
{
Expand Down
2 changes: 1 addition & 1 deletion src/Http/Transport/TransportResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
/**
* Represents response returned by {@link TransportInterface} from BBB server.
*/
class TransportResponse
final class TransportResponse
{
public function __construct(private readonly string $body, private readonly ?string $sessionId)
{
Expand Down
2 changes: 1 addition & 1 deletion src/Parameters/CreateMeetingParameters.php
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@
* @method string getSharedNotesInitialContentJsonUrl()
* @method $this setSharedNotesInitialContentJsonUrl(string $sharedNotesInitialContentJsonUrl)
*/
class CreateMeetingParameters extends MetaParameters
final class CreateMeetingParameters extends MetaParameters
{
protected ?string $welcome = null;
protected ?string $dialNumber = null;
Expand Down
2 changes: 1 addition & 1 deletion src/Parameters/DeleteRecordingsParameters.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
* @method string getRecordID()
* @method $this setRecordID(string $recordID)
*/
class DeleteRecordingsParameters extends BaseParameters
final class DeleteRecordingsParameters extends BaseParameters
{
public function __construct(protected string $recordID)
{
Expand Down
2 changes: 1 addition & 1 deletion src/Parameters/EndMeetingParameters.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
* @method string getMeetingID()
* @method $this setMeetingID(string $id)
*/
class EndMeetingParameters extends BaseParameters
final class EndMeetingParameters extends BaseParameters
{
public function __construct(protected string $meetingID)
{
Expand Down
2 changes: 1 addition & 1 deletion src/Parameters/GetMeetingInfoParameters.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
* @method string getMeetingID()
* @method $this setMeetingID(string $id)
*/
class GetMeetingInfoParameters extends BaseParameters
final class GetMeetingInfoParameters extends BaseParameters
{
public function __construct(protected string $meetingID)
{
Expand Down
2 changes: 1 addition & 1 deletion src/Parameters/GetRecordingTextTracksParameters.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
* @method string getRecordID()
* @method $this setRecordID(string $recordID)
*/
class GetRecordingTextTracksParameters extends MetaParameters
final class GetRecordingTextTracksParameters extends MetaParameters
{
public function __construct(protected string $recordID)
{
Expand Down
2 changes: 1 addition & 1 deletion src/Parameters/GetRecordingsParameters.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
* @method string getState()
* @method $this setState(string $state)
*/
class GetRecordingsParameters extends MetaParameters
final class GetRecordingsParameters extends MetaParameters
{
protected ?string $meetingID = null;
protected ?string $recordID = null;
Expand Down
2 changes: 1 addition & 1 deletion src/Parameters/HooksCreateParameters.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
* @method bool|null isGetRaw()
* @method $this setGetRaw(bool $getRaw)
*/
class HooksCreateParameters extends BaseParameters
final class HooksCreateParameters extends BaseParameters
{
protected ?string $meetingID = null;
protected ?string $eventID = null;
Expand Down
2 changes: 1 addition & 1 deletion src/Parameters/HooksDestroyParameters.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
* @method string getHookID()
* @method $this setHookID(string $hookID)
*/
class HooksDestroyParameters extends BaseParameters
final class HooksDestroyParameters extends BaseParameters
{
public function __construct(protected string $hookID)
{
Expand Down
2 changes: 1 addition & 1 deletion src/Parameters/IsMeetingRunningParameters.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
* @method string getMeetingID()
* @method $this setMeetingID(string $id)
*/
class IsMeetingRunningParameters extends BaseParameters
final class IsMeetingRunningParameters extends BaseParameters
{
public function __construct(protected string $meetingID)
{
Expand Down
2 changes: 1 addition & 1 deletion src/Parameters/JoinMeetingParameters.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
* @method string getLastName()
* @method $this setLastName(string $lastName)
*/
class JoinMeetingParameters extends UserDataParameters
final class JoinMeetingParameters extends UserDataParameters
{
protected ?int $createTime = null;
protected ?string $userID = null;
Expand Down
2 changes: 1 addition & 1 deletion src/Parameters/PublishRecordingsParameters.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
* @method bool|null isPublish()
* @method $this setPublish(bool $publish)
*/
class PublishRecordingsParameters extends BaseParameters
final class PublishRecordingsParameters extends BaseParameters
{
public function __construct(protected string $recordID, protected bool $publish)
{
Expand Down
2 changes: 1 addition & 1 deletion src/Parameters/PutRecordingTextTrackParameters.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
* @method mixed getFile()
* @method $this setFile(string $file)
*/
class PutRecordingTextTrackParameters extends BaseParameters
final class PutRecordingTextTrackParameters extends BaseParameters
{
protected ?string $contentType = null;
protected ?string $file = null;
Expand Down
2 changes: 1 addition & 1 deletion src/Parameters/UpdateRecordingsParameters.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
* @method string getRecordID()
* @method $this setRecordID(string $recordID)
*/
class UpdateRecordingsParameters extends MetaParameters
final class UpdateRecordingsParameters extends MetaParameters
{
public function __construct(protected string $recordID)
{
Expand Down
2 changes: 1 addition & 1 deletion src/Responses/ApiVersionResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
/**
* Class ApiVersionResponse.
*/
class ApiVersionResponse extends BaseResponse
final class ApiVersionResponse extends BaseResponse
{
public function getVersion(): string
{
Expand Down
2 changes: 1 addition & 1 deletion src/Responses/CreateMeetingResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
/**
* Class CreateMeetingResponse.
*/
class CreateMeetingResponse extends BaseResponse
final class CreateMeetingResponse extends BaseResponse
{
public const KEY_DUPLICATE_WARNING = 'duplicateWarning';
public const KEY_ID_NOT_UNIQUE = 'idNotUnique';
Expand Down
2 changes: 1 addition & 1 deletion src/Responses/DeleteRecordingsResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
/**
* Class DeleteRecordingsResponse.
*/
class DeleteRecordingsResponse extends BaseResponse
final class DeleteRecordingsResponse extends BaseResponse
{
public const KEY_NOT_FOUND = 'notFound';

Expand Down
2 changes: 1 addition & 1 deletion src/Responses/EndMeetingResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
/**
* Class EndMeetingResponse.
*/
class EndMeetingResponse extends BaseResponse
final class EndMeetingResponse extends BaseResponse
{
public const KEY_SET_END_MEETING_REQUEST = 'sentEndMeetingRequest';

Expand Down
2 changes: 1 addition & 1 deletion src/Responses/GetMeetingInfoResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
/**
* Class GetMeetingInfoResponse.
*/
class GetMeetingInfoResponse extends BaseResponse
final class GetMeetingInfoResponse extends BaseResponse
{
private ?Meeting $meeting = null;

Expand Down
2 changes: 1 addition & 1 deletion src/Responses/GetMeetingsResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
/**
* Class GetMeetingsResponse.
*/
class GetMeetingsResponse extends BaseResponse
final class GetMeetingsResponse extends BaseResponse
{
/**
* @var Meeting[]
Expand Down
2 changes: 1 addition & 1 deletion src/Responses/GetRecordingTextTracksResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
/**
* Class GetRecordingTextTracksResponse.
*/
class GetRecordingTextTracksResponse extends BaseResponseAsJson
final class GetRecordingTextTracksResponse extends BaseResponseAsJson
{
/**
* @var Track[]
Expand Down
2 changes: 1 addition & 1 deletion src/Responses/GetRecordingsResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
/**
* Class GetRecordingsResponse.
*/
class GetRecordingsResponse extends BaseResponse
final class GetRecordingsResponse extends BaseResponse
{
public const KEY_NO_RECORDINGS = 'noRecordings';

Expand Down
2 changes: 1 addition & 1 deletion src/Responses/HooksCreateResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
/**
* Class GetRecordingsResponse.
*/
class HooksCreateResponse extends BaseResponse
final class HooksCreateResponse extends BaseResponse
{
public function getHookId(): int
{
Expand Down
2 changes: 1 addition & 1 deletion src/Responses/HooksDestroyResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
/**
* Class GetRecordingsResponse.
*/
class HooksDestroyResponse extends BaseResponse
final class HooksDestroyResponse extends BaseResponse
{
public const KEY_MISSING_HOOK = 'destroyMissingHook';
public const KEY_HOOK_ERROR = 'destroyHookError';
Expand Down
2 changes: 1 addition & 1 deletion src/Responses/HooksListResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
/**
* Class GetRecordingsResponse.
*/
class HooksListResponse extends BaseResponse
final class HooksListResponse extends BaseResponse
{
/**
* @var Hook[]
Expand Down
2 changes: 1 addition & 1 deletion src/Responses/IsMeetingRunningResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
/**
* Class IsMeetingRunningResponse.
*/
class IsMeetingRunningResponse extends BaseResponse
final class IsMeetingRunningResponse extends BaseResponse
{
public function isRunning(): bool
{
Expand Down
2 changes: 1 addition & 1 deletion src/Responses/JoinMeetingResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
/**
* Class JoinMeetingResponse.
*/
class JoinMeetingResponse extends BaseResponse
final class JoinMeetingResponse extends BaseResponse
{
public const KEY_SUCCESSFULLY_JOINED = 'successfullyJoined';
public const KEY_INVALID_SESSION = 'InvalidSession';
Expand Down
2 changes: 1 addition & 1 deletion src/Responses/PublishRecordingsResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
/**
* Class PublishRecordingsResponse.
*/
class PublishRecordingsResponse extends BaseResponse
final class PublishRecordingsResponse extends BaseResponse
{
public const KEY_NOT_FOUND = 'notFound';

Expand Down
2 changes: 1 addition & 1 deletion src/Responses/PutRecordingTextTrackResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
/**
* Class PutRecordingTextTracksResponse.
*/
class PutRecordingTextTrackResponse extends BaseResponseAsJson
final class PutRecordingTextTrackResponse extends BaseResponseAsJson
{
public const KEY_SUCCESS = 'upload_text_track_success';
public const KEY_FAILED = 'upload_text_track_failed';
Expand Down
2 changes: 1 addition & 1 deletion src/Responses/UpdateRecordingsResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
/**
* Class UpdateRecordingsResponse.
*/
class UpdateRecordingsResponse extends BaseResponse
final class UpdateRecordingsResponse extends BaseResponse
{
public const KEY_NOT_FOUND = 'notFound';

Expand Down
Loading