diff options
author | Jeremy Benoist <jeremy.benoist@gmail.com> | 2017-11-21 10:37:36 +0100 |
---|---|---|
committer | Jeremy Benoist <jeremy.benoist@gmail.com> | 2017-11-21 10:37:36 +0100 |
commit | 709e21a3f4ef3616112a02be06045a1e3ab63a01 (patch) | |
tree | 7475cedd2d4af33256158646751d1783d7e2435b /src | |
parent | 8a21985474c2daae9f84ac52463fe7d297aae3ae (diff) | |
download | wallabag-709e21a3f4ef3616112a02be06045a1e3ab63a01.tar.gz wallabag-709e21a3f4ef3616112a02be06045a1e3ab63a01.tar.zst wallabag-709e21a3f4ef3616112a02be06045a1e3ab63a01.zip |
Define storeArticleHeaders false by default
Fix tests which must use `$storeArticleHeaders`.
Fix CS
Diffstat (limited to 'src')
-rw-r--r-- | src/Wallabag/CoreBundle/Helper/ContentProxy.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Wallabag/CoreBundle/Helper/ContentProxy.php b/src/Wallabag/CoreBundle/Helper/ContentProxy.php index 3f5e4760..4cc20c9c 100644 --- a/src/Wallabag/CoreBundle/Helper/ContentProxy.php +++ b/src/Wallabag/CoreBundle/Helper/ContentProxy.php | |||
@@ -26,7 +26,7 @@ class ContentProxy | |||
26 | protected $eventDispatcher; | 26 | protected $eventDispatcher; |
27 | protected $storeArticleHeaders; | 27 | protected $storeArticleHeaders; |
28 | 28 | ||
29 | public function __construct(Graby $graby, RuleBasedTagger $tagger, ValidatorInterface $validator, LoggerInterface $logger, $fetchingErrorMessage, $storeArticleHeaders) | 29 | public function __construct(Graby $graby, RuleBasedTagger $tagger, ValidatorInterface $validator, LoggerInterface $logger, $fetchingErrorMessage, $storeArticleHeaders = false) |
30 | { | 30 | { |
31 | $this->graby = $graby; | 31 | $this->graby = $graby; |
32 | $this->tagger = $tagger; | 32 | $this->tagger = $tagger; |