Skip to content

Commit

Permalink
renaming
Browse files Browse the repository at this point in the history
  • Loading branch information
MathiasReker committed Sep 15, 2024
1 parent 2888208 commit 5074e80
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Services/Providers/StringProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ final class StringProvider implements SvgProviderInterface
/**
* The optimized SVG content.
*/
private string $output;
private string $outputContent;

/**
* The DOMDocumentWrapper instance.
Expand Down Expand Up @@ -69,7 +69,7 @@ public function optimize(\DOMDocument $domDocument): self
throw new XmlProcessingException('Failed to process XML content.');
}

$this->output = trim($xmlContent);
$this->outputContent = trim($xmlContent);

return $this;
}
Expand All @@ -81,7 +81,7 @@ public function optimize(\DOMDocument $domDocument): self
*/
public function getOutputContent(): string
{
return $this->output;
return $this->outputContent;
}

/**
Expand All @@ -105,7 +105,7 @@ public function getMetaData(): MetaDataValueObject
{
$metaData = new MetaData(
mb_strlen($this->input, '8bit'),
mb_strlen($this->output, '8bit')
mb_strlen($this->outputContent, '8bit')
);

return $metaData->toValueObject();
Expand Down

0 comments on commit 5074e80

Please sign in to comment.