mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-01 16:45:02 +02:00
Improve Factory variable names (#2895)
This commit is contained in:
parent
e3dad86bca
commit
d107f8ed30
18 changed files with 59 additions and 59 deletions
|
@ -58,8 +58,8 @@ abstract class BaseFormatTest extends TestCase
|
|||
|
||||
protected function formatData(string $formatName, \stdClass $sample): string
|
||||
{
|
||||
$formatFac = new FormatFactory();
|
||||
$format = $formatFac->create($formatName);
|
||||
$formatFactory = new FormatFactory();
|
||||
$format = $formatFactory->create($formatName);
|
||||
$format->setItems($sample->items);
|
||||
$format->setExtraInfos($sample->meta);
|
||||
$format->setLastModified(strtotime('2000-01-01 12:00:00 UTC'));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue