Skip to content

Commit

Permalink
fix(order): mark adminC as deprecated in DomainOrder and DomainOrderH…
Browse files Browse the repository at this point in the history
…andleData schemas
  • Loading branch information
mittwald-machine committed Dec 11, 2024
1 parent 3c7ca47 commit 4dfe22d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/Generated/V2/Schemas/Order/DomainOrder.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ class DomainOrder
'handleData' => [
'properties' => [
'adminC' => [
'deprecated' => true,
'items' => [
'$ref' => '#/components/schemas/de.mittwald.v1.order.DomainHandleField',
],
Expand Down
4 changes: 4 additions & 0 deletions src/Generated/V2/Schemas/Order/DomainOrderHandleData.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ class DomainOrderHandleData
private static array $schema = [
'properties' => [
'adminC' => [
'deprecated' => true,
'items' => [
'$ref' => '#/components/schemas/de.mittwald.v1.order.DomainHandleField',
],
Expand All @@ -46,6 +47,7 @@ class DomainOrderHandleData

/**
* @var DomainHandleField[]|null
* @deprecated
*/
private ?array $adminC = null;

Expand All @@ -64,6 +66,7 @@ public function __construct(array $ownerC)

/**
* @return DomainHandleField[]|null
* @deprecated
*/
public function getAdminC(): ?array
{
Expand All @@ -80,6 +83,7 @@ public function getOwnerC(): array

/**
* @param DomainHandleField[] $adminC
* @deprecated
*/
public function withAdminC(array $adminC): self
{
Expand Down

0 comments on commit 4dfe22d

Please sign in to comment.