Skip to content

Commit

Permalink
PHP-CS-Fixer
Browse files Browse the repository at this point in the history
  • Loading branch information
DamienHarper committed Jan 5, 2024
1 parent 09a8579 commit 8b7aef1
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/Exporter/Html/Child/MediaExporter.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 = ['<div class="adf-media"><!--'.$this->node->toJson().'--><p>Atlassian Media API is not publicly available at the moment.</p>', '</div>'];
// $this->tags = ['<div class="adf-media"><!-- '.$this->node->toJson().' --><img src="blob:https://odandb.atlassian.net/'.$this->node->getId().'">', '</div>'];
// $this->tags = ['<div class="adf-media"><!-- '.$this->node->toJson().' --><img src="blob:https://odandb.atlassian.net/'.$this->node->getId().'">', '</div>'];
}
}
2 changes: 1 addition & 1 deletion src/Node/Child/TableCell.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down
4 changes: 1 addition & 3 deletions src/Node/InlineNode.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,4 @@

namespace DH\Adf\Node;

abstract class InlineNode extends Node
{
}
abstract class InlineNode extends Node {}
4 changes: 1 addition & 3 deletions src/Node/MarkNode.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,4 @@

namespace DH\Adf\Node;

abstract class MarkNode extends Node
{
}
abstract class MarkNode extends Node {}

0 comments on commit 8b7aef1

Please sign in to comment.