mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-20 22:53:49 +00:00
Update minor things.
This commit is contained in:
@@ -595,10 +595,12 @@ class AccompanyingPeriod implements
|
||||
*/
|
||||
public function getComments(): Collection
|
||||
{
|
||||
$pinnedComment = $this->pinnedComment;
|
||||
|
||||
return $this
|
||||
->comments
|
||||
->filter(
|
||||
static fn (Comment $c): bool => $c !== $this->pinnedComment
|
||||
static fn (Comment $c): bool => $c !== $pinnedComment
|
||||
);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user