Skip to content

Commit

Permalink
Revert "Add TYPE_LABELS constant"
Browse files Browse the repository at this point in the history
This reverts commit 44eaab7.
  • Loading branch information
caendesilva committed Nov 21, 2022
1 parent a5fcf05 commit 7931225
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ class PublicationField implements JsonSerializable, Arrayable
use JsonSerializesArrayable;

public final const TYPES = ['string', 'boolean', 'integer', 'float', 'datetime', 'url', 'array', 'text', 'image'];
public final const TYPE_LABELS = ['String', 'Boolean', 'Integer', 'Float', 'Datetime', 'URL', 'Array', 'Text', 'Local Image'];

public function __construct(public readonly string $type, public readonly string $name, public readonly ?int $min, public readonly ?int $max)
{
Expand Down

0 comments on commit 7931225

Please sign in to comment.