mirror of
https://github.com/wallabag/wallabag.git
synced 2024-12-28 02:20:29 +00:00
CS
This commit is contained in:
parent
5419a8368e
commit
3afc87426d
3 changed files with 3 additions and 3 deletions
|
@ -23,7 +23,7 @@ class PreparePagerForEntries
|
|||
* @param AdapterInterface $adapter
|
||||
* @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)
|
||||
{
|
||||
|
|
|
@ -22,7 +22,7 @@ class SiteCredentialRepository extends \Doctrine\ORM\EntityRepository
|
|||
* @param string $host
|
||||
* @param int $userId
|
||||
*
|
||||
* @return null|array
|
||||
* @return array|null
|
||||
*/
|
||||
public function findOneByHostAndUser($host, $userId)
|
||||
{
|
||||
|
|
|
@ -62,7 +62,7 @@ class InstapaperImport extends AbstractImport
|
|||
}
|
||||
|
||||
$entries = [];
|
||||
$handle = fopen($this->filepath, 'rb');
|
||||
$handle = fopen($this->filepath, 'r');
|
||||
while (false !== ($data = fgetcsv($handle, 10240))) {
|
||||
if ('URL' === $data[0]) {
|
||||
continue;
|
||||
|
|
Loading…
Reference in a new issue