Skip to content

Commit

Permalink
fixing a bug in the comments admin
Browse files Browse the repository at this point in the history
  • Loading branch information
psion committed Oct 2, 2023
1 parent 775cea7 commit e55f690
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "selenesoftware/cms-bundle",
"type": "symfony-bundle",
"version": "0.0.9",
"version": "0.0.10",
"description": "CMS platform for Symfony",
"homepage": "https://github.com/SeleneSoftware/seleneCMSBundle",
"license": "MIT",
Expand Down
5 changes: 5 additions & 0 deletions src/Entity/Blog.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,11 @@ public function __construct()
$this->comments = new ArrayCollection();
}

public function __toString(): string
{
return $this->title;
}

public function getId(): ?int
{
return $this->id;
Expand Down

0 comments on commit e55f690

Please sign in to comment.