mirror of
https://github.com/wallabag/wallabag.git
synced 2025-02-22 21:46:17 +00:00
Fix some Scrutinizer issues
This commit is contained in:
parent
d181bd7285
commit
5fe65baee5
3 changed files with 5 additions and 10 deletions
|
@ -550,7 +550,7 @@ class Entry
|
|||
}
|
||||
|
||||
/**
|
||||
* @return ArrayCollection<Tag>
|
||||
* @return array<Tag>
|
||||
*/
|
||||
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
|
||||
*/
|
||||
|
|
|
@ -38,13 +38,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)
|
||||
{
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue