Skip to content

Commit

Permalink
Remove positive-int
Browse files Browse the repository at this point in the history
  • Loading branch information
msmakouz committed Feb 6, 2024
1 parent d649ba3 commit 01a40aa
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/Definition/Field.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,6 @@ final class Field
*/
private array|string|null $typecast = null;

/**
* @var positive-int|null
*/
private ?int $generated = null;

private bool $referenced = false;
Expand Down Expand Up @@ -145,7 +142,7 @@ public function getTypecast(): array|string|null
}

/**
* @param positive-int|null $type. Generating type {@see SchemaInterface::GENERATED_*} constants.
* @param int|null $type Generating type {@see SchemaInterface::GENERATED_*} constants.
*/
public function setGenerated(int|null $type): self
{
Expand All @@ -154,9 +151,6 @@ public function setGenerated(int|null $type): self
return $this;
}

/**
* @return positive-int|null
*/
public function getGenerated(): ?int
{
return $this->generated;
Expand Down

0 comments on commit 01a40aa

Please sign in to comment.