From: Cyperghost Date: Wed, 17 Jan 2024 13:56:35 +0000 (+0100) Subject: Run code fixer X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=21afc18fca5ac6f2806be881afafd8ea68dde3a4;p=GitHub%2FWoltLab%2FWCF.git Run code fixer --- diff --git a/wcfsetup/install/files/lib/system/html/input/node/HtmlInputNodeProcessor.class.php b/wcfsetup/install/files/lib/system/html/input/node/HtmlInputNodeProcessor.class.php index ad98ebafd7..9203b6d235 100644 --- a/wcfsetup/install/files/lib/system/html/input/node/HtmlInputNodeProcessor.class.php +++ b/wcfsetup/install/files/lib/system/html/input/node/HtmlInputNodeProcessor.class.php @@ -815,8 +815,8 @@ class HtmlInputNodeProcessor extends AbstractHtmlNodeProcessor //

https://example.com
…

//

…
https://example.com

if ( - ($nextSibling === null && $previousSibling !== null && $previousSibling->nodeName === 'br') || - ($previousSibling === null && $nextSibling !== null && $nextSibling->nodeName === 'br') + ($nextSibling === null && $previousSibling !== null && $previousSibling->nodeName === 'br') + || ($previousSibling === null && $nextSibling !== null && $nextSibling->nodeName === 'br') ) { $this->plainLinks[] = $plainLink->setIsStandalone($parent, false); continue; @@ -825,10 +825,10 @@ class HtmlInputNodeProcessor extends AbstractHtmlNodeProcessor //

…
https://example.com
…

//

…
https://example.com
…

if ( - $previousSibling === null && $nextSibling === null || - ( - $previousSibling !== null && $nextSibling !== null && - $previousSibling->nodeName === 'br' && $nextSibling->nodeName === 'br' + $previousSibling === null && $nextSibling === null + || ( + $previousSibling !== null && $nextSibling !== null + && $previousSibling->nodeName === 'br' && $nextSibling->nodeName === 'br' ) ) { $this->plainLinks[] = $plainLink->setIsStandalone($parent, false); @@ -890,6 +890,7 @@ class HtmlInputNodeProcessor extends AbstractHtmlNodeProcessor default: return true; } + return false; } }