mirror of
https://github.com/wallabag/wallabag.git
synced 2025-08-31 18:31:02 +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()
|
public function getTags()
|
||||||
{
|
{
|
||||||
|
@ -685,7 +685,7 @@ class Entry
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return int
|
* @return string
|
||||||
*/
|
*/
|
||||||
public function getHttpStatus()
|
public function getHttpStatus()
|
||||||
{
|
{
|
||||||
|
@ -693,7 +693,7 @@ class Entry
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param int $httpStatus
|
* @param string $httpStatus
|
||||||
*
|
*
|
||||||
* @return Entry
|
* @return Entry
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -38,13 +38,7 @@ class GrabySiteConfigBuilder implements SiteConfigBuilder
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Builds the SiteConfig for a host.
|
* {@inheritdoc}
|
||||||
*
|
|
||||||
* @param string $host The "www." prefix is ignored
|
|
||||||
*
|
|
||||||
* @return SiteConfig
|
|
||||||
*
|
|
||||||
* @throws OutOfRangeException If there is no config for $host
|
|
||||||
*/
|
*/
|
||||||
public function buildForHost($host)
|
public function buildForHost($host)
|
||||||
{
|
{
|
||||||
|
|
|
@ -15,6 +15,7 @@ class RuleBasedTagger
|
||||||
private $rulerz;
|
private $rulerz;
|
||||||
private $tagRepository;
|
private $tagRepository;
|
||||||
private $entryRepository;
|
private $entryRepository;
|
||||||
|
private $logger;
|
||||||
|
|
||||||
public function __construct(RulerZ $rulerz, TagRepository $tagRepository, EntryRepository $entryRepository, LoggerInterface $logger)
|
public function __construct(RulerZ $rulerz, TagRepository $tagRepository, EntryRepository $entryRepository, LoggerInterface $logger)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue