Skip to content

Commit

Permalink
fixes according to review
Browse files Browse the repository at this point in the history
  • Loading branch information
pmattmann committed Jul 9, 2024
1 parent e0f65ff commit 6af1f65
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
3 changes: 0 additions & 3 deletions api/fixtures/checklistItems.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@ App\Entity\ChecklistItem:
checklist: '@checklist1'
parent: '@checklistItem1_1_2'
text: 'Camp1_List1_Item2_Item3'
# checklist2WithNoItems:
# checklist: '@checklist2WithNoItems'
# text: 'Camp1_List2_Item1'
checklistItem2_1_1:
checklist: '@checklist1camp2'
text: 'Camp2_List1_Item1'
Expand Down
2 changes: 1 addition & 1 deletion api/migrations/schema/Version20240620143000.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@ public function up(Schema $schema): void {

public function down(Schema $schema): void {
// this down() migration is auto-generated, please modify it to your needs
$this->addSql('DELETE FROM public.content_type WHERE id IN (\'a4211c11211c\')');
$this->addSql("DELETE FROM public.content_type WHERE id IN ('a4211c11211c')");
}
}
2 changes: 1 addition & 1 deletion api/src/Entity/Checklist.php
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ class Checklist extends BaseEntity implements BelongsToCampInterface, CopyFromPr
#[Assert\NotBlank]
#[Assert\Length(max: 32)]
#[ORM\Column(type: 'text')]
public ?string $name = null;
public string $name;

public function __construct() {
parent::__construct();
Expand Down

0 comments on commit 6af1f65

Please sign in to comment.