From 4a87206f2898665e99953590536cedc6c5505f05 Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Thu, 12 May 2022 22:15:10 +0200 Subject: OPML export/import of some proprietary FreshRSS attributes (#4342) * OPML export/import of some proprietary FreshRSS attributes #fix https://github.com/FreshRSS/FreshRSS/issues/4077 And one of the TODOs of https://github.com/FreshRSS/FreshRSS/pull/4220 XPath options, CSS Selector, and action filters * Bump library patch version * OPML namespace + documentation * Add example --- app/Models/BooleanSearch.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'app/Models/BooleanSearch.php') diff --git a/app/Models/BooleanSearch.php b/app/Models/BooleanSearch.php index e2f99d524..774e42073 100644 --- a/app/Models/BooleanSearch.php +++ b/app/Models/BooleanSearch.php @@ -5,6 +5,7 @@ */ class FreshRSS_BooleanSearch { + /** @var string */ private $raw_input = ''; private $searches = array(); @@ -54,11 +55,11 @@ class FreshRSS_BooleanSearch { return null; } - public function __toString() { + public function __toString(): string { return $this->getRawInput(); } - public function getRawInput() { + public function getRawInput(): string { return $this->raw_input; } } -- cgit v1.2.3