Skip to content
Merged
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
12 changes: 11 additions & 1 deletion src/Bitrix24Accounts/Entity/Bitrix24Account.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,18 +62,28 @@
#[ORM\Column(name: 'b24_user_id', type: 'integer', nullable: false)]
#[SerializedName('b24_user_id')]
private readonly int $bitrix24UserId,
#[ORM\Column(name: 'is_b24_user_admin', type: 'boolean', nullable: false)]
#[SerializedName('is_b24_user_admin')]
private readonly bool $isBitrix24UserAdmin,
/** bitrix24 portal unique id */
#[ORM\Column(name: 'member_id', type: 'string', nullable: false)]
#[SerializedName('member_id')]
private readonly string $memberId,
#[ORM\Column(name: 'domain_url', type: 'string', nullable: false)]
#[SerializedName('domain_url')]
private string $domainUrl,
#[ORM\Column(name: 'account_status', type: 'string', nullable: false, enumType: Bitrix24AccountStatus::class)]
private Bitrix24AccountStatus $accountStatus,
AuthToken $authToken,
#[ORM\Embedded(class: AuthToken::class)]

Check failure on line 77 in src/Bitrix24Accounts/Entity/Bitrix24Account.php

View workflow job for this annotation

GitHub Actions / PHPStan (8.3, highest, ubuntu-latest)

Attribute class Doctrine\ORM\Mapping\Embedded does not have the parameter target.
AuthToken $authToken,
#[ORM\Column(name: 'created_at_utc', type: 'carbon_immutable', precision: 3, nullable: false)]
#[Ignore]
private readonly CarbonImmutable $createdAt,
#[ORM\Column(name: 'update_at_utc', type: 'carbon_immutable', precision: 3, nullable: false)]
#[Ignore]
private CarbonImmutable $updatedAt,
#[ORM\Column(name: 'application_version', type: 'integer', nullable: false)]
#[Ignore]
private int $applicationVersion,
Scope $applicationScope,
)
Expand Down
Loading