1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-08-12 03:24:01 +02:00

refactor: format rendering (#4229)

This commit is contained in:
Dag
2024-08-23 17:34:06 +02:00
committed by GitHub
parent c849576c93
commit 6516e31c1b
12 changed files with 25 additions and 50 deletions

View File

@@ -58,7 +58,7 @@ class FormatTest extends TestCase
class TestFormat extends \FormatAbstract
{
public function stringify()
public function render(): string
{
}
}

View File

@@ -64,6 +64,6 @@ abstract class BaseFormatTest extends TestCase
$format->setFeed($sample->meta);
$format->setLastModified(strtotime('2000-01-01 12:00:00 UTC'));
return $format->stringify();
return $format->render();
}
}