mirror of
https://github.com/wallabag/wallabag.git
synced 2025-09-15 18:57:05 +00:00
php-cs-fixer
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
This commit is contained in:
parent
685a5d745e
commit
2a1ceb67b4
48 changed files with 89 additions and 89 deletions
|
@ -45,7 +45,7 @@ class EntriesExport
|
|||
*/
|
||||
public function setEntries($entries)
|
||||
{
|
||||
if (!is_array($entries)) {
|
||||
if (!\is_array($entries)) {
|
||||
$this->language = $entries->getLanguage();
|
||||
$entries = [$entries];
|
||||
}
|
||||
|
@ -325,7 +325,7 @@ class EntriesExport
|
|||
{
|
||||
$delimiter = ';';
|
||||
$enclosure = '"';
|
||||
$handle = fopen('php://memory', 'rb+');
|
||||
$handle = fopen('php://memory', 'b+r');
|
||||
|
||||
fputcsv($handle, ['Title', 'URL', 'Content', 'Tags', 'MIME Type', 'Language', 'Creation date'], $delimiter, $enclosure);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue