Skip to content

Commit

Permalink
[3.5] Regression Fix - Remove text align as it overwrites the attribu…
Browse files Browse the repository at this point in the history
…te (breaks some custom fields)
  • Loading branch information
Schyzophrenic authored and javiereguiluz committed Jul 16, 2022
1 parent a76278c commit aa2bc5a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Dto/FieldDto.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

use EasyCorp\Bundle\EasyAdminBundle\Config\Crud;
use EasyCorp\Bundle\EasyAdminBundle\Config\KeyValueStore;
use EasyCorp\Bundle\EasyAdminBundle\Config\Option\TextAlign;
use function Symfony\Component\String\u;
use Symfony\Component\Uid\Ulid;
use Symfony\Contracts\Translation\TranslatableInterface;
Expand Down Expand Up @@ -239,7 +238,7 @@ public function setVirtual(bool $isVirtual): void
$this->virtual = $isVirtual;
}

public function getTextAlign(): string
public function getTextAlign(): ?string
{
return $this->textAlign;
}
Expand Down

0 comments on commit aa2bc5a

Please sign in to comment.