Skip to content

Commit eae002a

Browse files
driesvintsgithub-actions[bot]
authored andcommitted
Fix code styling
1 parent 795f1de commit eae002a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/EmbedExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public function register(EnvironmentBuilderInterface $environment): void
4343
if ($allowedDomains !== []) {
4444
$adapter = new DomainFilteringAdapter($adapter, $allowedDomains);
4545
}
46-
46+
4747
$environment
4848
->addBlockStartParser(new EmbedStartParser, 300)
4949
->addEventListener(DocumentParsedEvent::class, new EmbedProcessor($adapter, $environment->getConfiguration()->get('embed.fallback')), 1010)

app/EmbedProcessor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public function __invoke(DocumentParsedEvent $event): void
4242
$document = $event->getDocument();
4343
$embeds = [];
4444
info('Processing embeds in document');
45-
info('Total nodes in document: ' . count(iterator_to_array(new NodeIterator($document))));
45+
info('Total nodes in document: '.count(iterator_to_array(new NodeIterator($document))));
4646
foreach (new NodeIterator($document) as $node) {
4747
if (! ($node instanceof Embed)) {
4848
continue;

0 commit comments

Comments
 (0)