Skip to content

Commit

Permalink
Cleaned up
Browse files Browse the repository at this point in the history
  • Loading branch information
rimi-itk committed Jan 16, 2024
1 parent 75a404b commit b4ca2a9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions src/Controller/Admin/OIDCCrudController.php
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down
4 changes: 2 additions & 2 deletions src/Entity/OIDC.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b4ca2a9

Please sign in to comment.