Fix some Scrutinizer issues

This commit is contained in:
Jeremy Benoist 2017-05-30 11:39:15 +02:00
parent d181bd7285
commit 5fe65baee5
No known key found for this signature in database
GPG key ID: BCA73962457ACC3C
3 changed files with 5 additions and 10 deletions

View file

@ -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
*/

View file

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

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