Skip to content
Merged
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: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
- Added method `Bitrix24AccountRepositoryInterface::findByApplicationToken` in contracts for
support «[Delete Application](https://github.com/bitrix24/b24phpsdk/issues/62)» use case
- Added `Bitrix24\SDK\Application\Contracts\Bitrix24Accounts\Exceptions\MultipleBitrix24AccountsFoundException`
- Added nullable comments in events `Bitrix24AccountBlockedEvent` and `Bitrix24AccountUnblockedEvent`,
see [add comment to events](https://github.com/bitrix24/b24phpsdk/issues/79).

### Changed

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,9 @@
class Bitrix24AccountBlockedEvent extends Event
{
public function __construct(
public readonly Uuid $bitrix24AccountId,
public readonly CarbonImmutable $timestamp)
{
public readonly Uuid $bitrix24AccountId,
public readonly CarbonImmutable $timestamp,
public readonly ?string $comment = null
) {
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,9 @@
class Bitrix24AccountUnblockedEvent extends Event
{
public function __construct(
public readonly Uuid $bitrix24AccountId,
public readonly CarbonImmutable $timestamp)
{
public readonly Uuid $bitrix24AccountId,
public readonly CarbonImmutable $timestamp,
public readonly ?string $comment = null
) {
}
}
Loading