1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-07-27 17:28:39 +00:00
This commit is contained in:
Jeremy Benoist 2019-01-18 16:05:20 +01:00
parent 9666fb70fc
commit 963b873626
No known key found for this signature in database
GPG key ID: BCA73962457ACC3C
3 changed files with 3 additions and 3 deletions

View file

@ -23,7 +23,7 @@ class PreparePagerForEntries
* @param AdapterInterface $adapter * @param AdapterInterface $adapter
* @param User $user If user isn't logged in, we can force it (like for rss) * @param User $user If user isn't logged in, we can force it (like for rss)
* *
* @return null|Pagerfanta * @return Pagerfanta|null
*/ */
public function prepare(AdapterInterface $adapter, User $user = null) public function prepare(AdapterInterface $adapter, User $user = null)
{ {

View file

@ -22,7 +22,7 @@ class SiteCredentialRepository extends \Doctrine\ORM\EntityRepository
* @param string $host * @param string $host
* @param int $userId * @param int $userId
* *
* @return null|array * @return array|null
*/ */
public function findOneByHostAndUser($host, $userId) public function findOneByHostAndUser($host, $userId)
{ {

View file

@ -62,7 +62,7 @@ class InstapaperImport extends AbstractImport
} }
$entries = []; $entries = [];
$handle = fopen($this->filepath, 'rb'); $handle = fopen($this->filepath, 'r');
while (false !== ($data = fgetcsv($handle, 10240))) { while (false !== ($data = fgetcsv($handle, 10240))) {
if ('URL' === $data[0]) { if ('URL' === $data[0]) {
continue; continue;