Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
piRGoif committed Nov 2, 2024
2 parents 1d019a7 + f146cc1 commit 10c5fbb
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions communs/changelog.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -312,12 +312,12 @@ abstract protected static function getHeader();
* @param string $entryId
* @return string
*/
abstract protected static function getEntryBefore(string $entryTitle, string $entryId);
abstract protected static function getEntryBefore($entryTitle, $entryId);
/**
* @param string $entryContentItem
* @return string
*/
abstract protected static function getEntryContentItem(string $entryContentItem);
abstract protected static function getEntryContentItem($entryContentItem);
/**
* @return string
*/
Expand All @@ -336,14 +336,14 @@ protected static function getHeader()
return '<dl id="changelog-ul">';
}

protected static function getEntryBefore(string $entryTitle, string $entryId) {
protected static function getEntryBefore($entryTitle, $entryId) {
return <<<HTML
<dt>{$entryTitle}</dt>
<dd>
HTML;
HTML;
}

protected static function getEntryContentItem(string $entryContentItem) {
protected static function getEntryContentItem($entryContentItem) {
return '- ' . $entryContentItem . '<br>';
}

Expand Down Expand Up @@ -380,7 +380,7 @@ protected static function getHeader()
XML;
}

protected static function getEntryBefore(string $entryTitle, string $entryId)
protected static function getEntryBefore($entryTitle, $entryId)
{
$entryTitleEscaped = htmlspecialchars($entryTitle);
return <<<XML
Expand All @@ -392,7 +392,7 @@ protected static function getEntryBefore(string $entryTitle, string $entryId)
XML;
}

protected static function getEntryContentItem(string $entryContentItem)
protected static function getEntryContentItem($entryContentItem)
{
return '- ' . htmlspecialchars($entryContentItem) . "\n";
}
Expand Down

0 comments on commit 10c5fbb

Please sign in to comment.