Skip to content

Commit f53b1a5

Browse files
committed
Cleaned up
1 parent 75a404b commit f53b1a5

2 files changed

Lines changed: 3 additions & 5 deletions

File tree

src/Controller/Admin/OIDCCrudController.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
use App\Repository\SiteRepository;
99
use App\Service\Exporter;
1010
use App\Trait\ExportCrudControllerTrait;
11-
use App\Types\ServerTypeType;
1211
use EasyCorp\Bundle\EasyAdminBundle\Config\Action;
1312
use EasyCorp\Bundle\EasyAdminBundle\Config\Actions;
1413
use EasyCorp\Bundle\EasyAdminBundle\Config\Crud;
@@ -66,8 +65,7 @@ public function configureFields(string $pageName): iterable
6665
yield UrlField::new('onePasswordUrl')
6766
->setLabel(new TranslatableMessage('1Password url'));
6867
yield UrlField::new('usageDocumentationUrl')->hideOnIndex()
69-
->setHelp(new TranslatableMessage('Tell where to find documentation on how OpenID Connect is used on the site and
70-
how to configure the use.'));
68+
->setHelp(new TranslatableMessage('Tell where to find documentation on how OpenID Connect is used on the site and how to configure the use.'));
7169
yield DateField::new('expirationTime')->setFormat('yyyy-MM-dd')->setLabel('Expiration Date');
7270

7371
yield TextareaField::new('notes');

src/Entity/OIDC.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,11 @@ class OIDC extends AbstractBaseEntity
4040
private ?string $usageDocumentationUrl = null;
4141

4242
#[ORM\Column(length: 10)]
43-
#[Groups(['export'])]
44-
#[SerializedName('Type')]
4543
private ?string $type = null;
4644

4745
#[ORM\Column(type: Types::TEXT, nullable: true)]
46+
#[Groups(['export'])]
47+
#[SerializedName('Notes')]
4848
private ?string $notes = null;
4949

5050
public function getDomain(): ?string

0 commit comments

Comments
 (0)