mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-12 21:34:25 +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
|
public function getComments(): Collection
|
||||||
{
|
{
|
||||||
|
$pinnedComment = $this->pinnedComment;
|
||||||
|
|
||||||
return $this
|
return $this
|
||||||
->comments
|
->comments
|
||||||
->filter(
|
->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