From b4ca2a910704e339456a180bdf2493dc78642a88 Mon Sep 17 00:00:00 2001 From: Mikkel Ricky Date: Tue, 16 Jan 2024 15:30:38 +0100 Subject: [PATCH] Cleaned up --- src/Controller/Admin/OIDCCrudController.php | 3 +-- src/Entity/OIDC.php | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/Controller/Admin/OIDCCrudController.php b/src/Controller/Admin/OIDCCrudController.php index 8710994..06d0633 100644 --- a/src/Controller/Admin/OIDCCrudController.php +++ b/src/Controller/Admin/OIDCCrudController.php @@ -66,8 +66,7 @@ public function configureFields(string $pageName): iterable yield UrlField::new('onePasswordUrl') ->setLabel(new TranslatableMessage('1Password url')); yield UrlField::new('usageDocumentationUrl')->hideOnIndex() - ->setHelp(new TranslatableMessage('Tell where to find documentation on how OpenID Connect is used on the site and -how to configure the use.')); + ->setHelp(new TranslatableMessage('Tell where to find documentation on how OpenID Connect is used on the site and how to configure the use.')); yield DateField::new('expirationTime')->setFormat('yyyy-MM-dd')->setLabel('Expiration Date'); yield TextareaField::new('notes'); diff --git a/src/Entity/OIDC.php b/src/Entity/OIDC.php index 97ab329..80dc4d6 100644 --- a/src/Entity/OIDC.php +++ b/src/Entity/OIDC.php @@ -40,11 +40,11 @@ class OIDC extends AbstractBaseEntity private ?string $usageDocumentationUrl = null; #[ORM\Column(length: 10)] - #[Groups(['export'])] - #[SerializedName('Type')] private ?string $type = null; #[ORM\Column(type: Types::TEXT, nullable: true)] + #[Groups(['export'])] + #[SerializedName('Notes')] private ?string $notes = null; public function getDomain(): ?string