1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-09-15 18:57:05 +00:00

Merge pull request #3161 from wallabag/scrutinizer-2.3

Fix some Scrutinizer issues
This commit is contained in:
Nicolas Lœuillet 2017-05-31 11:46:41 +02:00 committed by GitHub
commit 3f8578ded3
4 changed files with 35 additions and 87 deletions

View file

@ -550,7 +550,7 @@ class Entry
}
/**
* @return ArrayCollection<Tag>
* @return ArrayCollection
*/
public function getTags()
{
@ -685,7 +685,7 @@ class Entry
}
/**
* @return int
* @return string
*/
public function getHttpStatus()
{
@ -693,7 +693,7 @@ class Entry
}
/**
* @param int $httpStatus
* @param string $httpStatus
*
* @return Entry
*/

View file

@ -5,7 +5,6 @@ namespace Wallabag\CoreBundle\GuzzleSiteAuthenticator;
use BD\GuzzleSiteAuthenticator\SiteConfig\SiteConfig;
use BD\GuzzleSiteAuthenticator\SiteConfig\SiteConfigBuilder;
use Graby\SiteConfig\ConfigBuilder;
use OutOfRangeException;
use Psr\Log\LoggerInterface;
class GrabySiteConfigBuilder implements SiteConfigBuilder
@ -38,13 +37,7 @@ class GrabySiteConfigBuilder implements SiteConfigBuilder
}
/**
* Builds the SiteConfig for a host.
*
* @param string $host The "www." prefix is ignored
*
* @return SiteConfig
*
* @throws OutOfRangeException If there is no config for $host
* {@inheritdoc}
*/
public function buildForHost($host)
{

View file

@ -15,6 +15,7 @@ class RuleBasedTagger
private $rulerz;
private $tagRepository;
private $entryRepository;
private $logger;
public function __construct(RulerZ $rulerz, TagRepository $tagRepository, EntryRepository $entryRepository, LoggerInterface $logger)
{