Skip to content

Commit

Permalink
Renamed variables
Browse files Browse the repository at this point in the history
  • Loading branch information
HorstOeko committed Oct 28, 2024
1 parent 36b5ea5 commit a152938
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/helpers/ZugferdMailPlaceholderHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -129,10 +129,10 @@ public function addPlaceholder(string $placeholderName, $placeHolderValue): Zugf
/**
* Parses placeholders in $originalString by the internal mapping table
*
* @param string $originalString
* @param string $subject
* @return string
*/
public function parseString(string $originalString): string
public function parseString(string $subject): string
{
return preg_replace_callback(
'/\{(\w+)\}/',
Expand All @@ -141,7 +141,7 @@ function ($placeholderMatch) {
$placeHolderValhe = isset($this->mappingTable[$placeHolderName]) ? $this->mappingTable[$placeHolderName] : "";
return $placeHolderValhe;
},
$originalString
$subject
);
}
}

0 comments on commit a152938

Please sign in to comment.