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 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)
{

View file

@ -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)
{

View file

@ -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;