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
4 changes: 2 additions & 2 deletions src/Class/Schema/ClassDefinition.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public function __construct(
#[Property(description: 'Modification date timestamp', type: 'integer', example: 1700000000)]
private readonly ?int $modificationDate,
#[Property(description: 'User id of owner', type: 'integer', example: 1)]
private readonly int $userOwner,
private readonly ?int $userOwner,
#[Property(
description: 'Namespace of parent class',
type: 'string',
Expand Down Expand Up @@ -175,7 +175,7 @@ public function getModificationDate(): ?int
return $this->modificationDate;
}

public function getUserOwner(): int
public function getUserOwner(): ?int
{
return $this->userOwner;
}
Expand Down
4 changes: 2 additions & 2 deletions src/Class/Schema/CustomLayout/CustomLayout.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public function __construct(
#[Property(description: 'Modification date timestamp', type: 'integer', example: 1633036800)]
private readonly int $modificationDate,
#[Property(description: 'User id of owner', type: 'integer', example: 1)]
private readonly int $userOwner,
private readonly ?int $userOwner,
#[Property(description: 'Class id', type: 'string', example: 'Product')]
private readonly string $classId,
#[Property(description: 'Whether it is the default layout', type: 'boolean', example: false)]
Expand Down Expand Up @@ -94,7 +94,7 @@ public function getModificationDate(): int
return $this->modificationDate;
}

public function getUserOwner(): int
public function getUserOwner(): ?int
{
return $this->userOwner;
}
Expand Down
Loading