Skip to content

Commit

Permalink
Rectored code
Browse files Browse the repository at this point in the history
  • Loading branch information
FelixJacobi committed Sep 17, 2024
1 parent 7dc4e5f commit 4a3f000
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 24 deletions.
23 changes: 4 additions & 19 deletions src/Parameters/SendChatMessageParameters.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
<?php

declare(strict_types=1);

/**
* This file is part of littleredbutton/bigbluebutton-api-php.
*
Expand Down Expand Up @@ -30,25 +33,7 @@
*/
final class SendChatMessageParameters extends BaseParameters
{
/**
* @var string
*/
protected $meetingID;

/**
* @var string
*/
protected $message;

/**
* @var string|null
*/
protected $userName;

public function __construct(string $meetingID, string $message, ?string $userName = null)
public function __construct(protected string $meetingID, protected string $message, protected ?string $userName = null)
{
$this->meetingID = $meetingID;
$this->message = $message;
$this->userName = $userName;
}
}
2 changes: 2 additions & 0 deletions src/Responses/SendChatMessageResponse.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

/**
* This file is part of littleredbutton/bigbluebutton-api-php.
*
Expand Down
10 changes: 5 additions & 5 deletions tools/.phpstan/composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 4a3f000

Please sign in to comment.