mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
Update minor things.
This commit is contained in:
parent
7ee554b48d
commit
eb9cc0b63f
@ -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
|
||||
);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user