From 8b7aef1283cbc931ef4e2dd37ffb476d164c9430 Mon Sep 17 00:00:00 2001 From: Damien Harper Date: Fri, 5 Jan 2024 22:19:14 +0100 Subject: [PATCH] PHP-CS-Fixer --- src/Exporter/Html/Child/MediaExporter.php | 2 +- src/Node/Child/TableCell.php | 2 +- src/Node/InlineNode.php | 4 +--- src/Node/MarkNode.php | 4 +--- 4 files changed, 4 insertions(+), 8 deletions(-) diff --git a/src/Exporter/Html/Child/MediaExporter.php b/src/Exporter/Html/Child/MediaExporter.php index fc67e02..b26ff7a 100644 --- a/src/Exporter/Html/Child/MediaExporter.php +++ b/src/Exporter/Html/Child/MediaExporter.php @@ -14,6 +14,6 @@ public function __construct(Media $node) parent::__construct($node); // TODO: finalize HTML construct/support other types of media, only IMG supported as of now $this->tags = ['

Atlassian Media API is not publicly available at the moment.

', '
']; -// $this->tags = ['
', '
']; + // $this->tags = ['
', '
']; } } diff --git a/src/Node/Child/TableCell.php b/src/Node/Child/TableCell.php index 0163256..7423e71 100644 --- a/src/Node/Child/TableCell.php +++ b/src/Node/Child/TableCell.php @@ -130,7 +130,7 @@ protected function attrs(): array if (null !== $this->rowspan) { $attrs['rowspan'] = $this->rowspan; } - if (null !== $this->colwidth && \is_array($this->colwidth)) { + if (\is_array($this->colwidth)) { $attrs['colwidth'] = $this->colwidth; } diff --git a/src/Node/InlineNode.php b/src/Node/InlineNode.php index 1108c8b..82edf6b 100644 --- a/src/Node/InlineNode.php +++ b/src/Node/InlineNode.php @@ -4,6 +4,4 @@ namespace DH\Adf\Node; -abstract class InlineNode extends Node -{ -} +abstract class InlineNode extends Node {} diff --git a/src/Node/MarkNode.php b/src/Node/MarkNode.php index 7e15d89..6c4900d 100644 --- a/src/Node/MarkNode.php +++ b/src/Node/MarkNode.php @@ -4,6 +4,4 @@ namespace DH\Adf\Node; -abstract class MarkNode extends Node -{ -} +abstract class MarkNode extends Node {}