mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-31 20:13:49 +00:00
DX: apply rector rulesset up to PHP72
This commit is contained in:
@@ -45,7 +45,7 @@ class PrivateCommentEmbeddable
|
||||
|
||||
public function merge(PrivateCommentEmbeddable $newComment): self
|
||||
{
|
||||
$currentComments = null === $this->getComments() ? [] : $this->getComments();
|
||||
$currentComments = $this->getComments() ?? [];
|
||||
|
||||
$mergedComments = $newComment->getComments() + $currentComments;
|
||||
|
||||
|
Reference in New Issue
Block a user