mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-20 22:53:49 +00:00
Issue336 internal create action fixes
This commit is contained in:
@@ -112,6 +112,11 @@ class Comment implements TrackCreationInterface, TrackUpdateInterface
|
||||
return $this->updatedBy;
|
||||
}
|
||||
|
||||
public function isPinned(): bool
|
||||
{
|
||||
return $this->getAccompanyingPeriod()->getPinnedComment() === $this;
|
||||
}
|
||||
|
||||
public function setAccompanyingPeriod(?AccompanyingPeriod $accompanyingPeriod): self
|
||||
{
|
||||
$this->accompanyingPeriod = $accompanyingPeriod;
|
||||
@@ -158,9 +163,4 @@ class Comment implements TrackCreationInterface, TrackUpdateInterface
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function isPinned(): bool
|
||||
{
|
||||
return $this->getAccompanyingPeriod()->getPinnedComment() === $this;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user