Skip to content

Commit

Permalink
phpstan fix
Browse files Browse the repository at this point in the history
  • Loading branch information
bytestream committed Jul 4, 2024
1 parent 018e35f commit 5970d34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Html/Filter/WrapQuotedHtml.php
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ private function hideQuotedHtml(string $html): string
// Find out which of the quoted nodes occurs first in the DOM.
if (count($nodes) > 0) {
$node = $this->getShortestPath($nodes);
if ($node->parentNode === null) {
if ($node?->parentNode === null) {
return $html;
}

Expand Down

0 comments on commit 5970d34

Please sign in to comment.