We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb802d0 commit fedf211Copy full SHA for fedf211
src/Printer/Printer.php
@@ -534,10 +534,6 @@ private function printArrayFormatPreserving(array $nodes, array $originalNodes,
534
throw new LogicException();
535
}
536
537
- if ($itemEndPos < $itemStartPos) {
538
- return null;
539
- }
540
-
541
$result .= $originalTokens->getContentBetween($tokenIndex, $itemStartPos);
542
543
if (count($delayedAdd) > 0) {
@@ -746,10 +742,6 @@ private function printNodeFormatPreserving(Node $node, TokenIterator $originalTo
746
742
747
743
748
744
749
- if ($endPos < $startPos) {
750
- return $this->print($node);
751
752
753
745
$result = '';
754
$pos = $startPos;
755
$subNodeNames = array_keys(get_object_vars($node));
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments