1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-10-15 19:42:08 +00:00

Fixed @tcitworld's review

This commit is contained in:
Nicolas Lœuillet 2017-10-08 11:03:32 +02:00 committed by Jeremy Benoist
parent b1428a1cf8
commit dc7fa8dfc6
No known key found for this signature in database
GPG key ID: BCA73962457ACC3C
2 changed files with 3 additions and 7 deletions

View file

@ -23,20 +23,16 @@ class EntriesExport
private $entries = [];
private $author = 'wallabag';
private $language = '';
private $footerTemplate = '<div style="text-align:center;">
<p>Produced by wallabag with %EXPORT_METHOD%</p>
<p>Please open <a href="https://github.com/wallabag/wallabag/issues">an issue</a> if you have trouble with the display of this E-Book on your device.</p>
</div>';
/**
* @param string $wallabagUrl Wallabag instance url
* @param string $logoPath Path to the logo FROM THE BUNDLE SCOPE
*/
public function __construct($wallabagUrl, $logoPath, TranslatorInterface $translator)
public function __construct(TranslatorInterface $translator, $wallabagUrl, $logoPath)
{
$this->translator = $translator;
$this->wallabagUrl = $wallabagUrl;
$this->logoPath = $logoPath;
$this->translator = $translator;
}
/**