A free, self-hostable news aggregator…
Fix syntax error in new exceptions
Alexandre Alapetite4d6fdc589e89
diff --git a/app/Exceptions/AlreadySubscribedException.php b/app/Exceptions/AlreadySubscribedException.phpindex f85d51300..33b9f9555 100644--- a/app/Exceptions/AlreadySubscribedException.php+++ b/app/Exceptions/AlreadySubscribedException.php@@ -5,10 +5,10 @@ class FreshRSS_AlreadySubscribed_Exception extends Exception {public function __construct($url, $feedName) {parent::__construct('Already subscribed! ' . $url, 2135);- $this->$feedName = $feedName;+ $this->feedName = $feedName;}public function feedName() {- return $this->feedName();+ return $this->feedName;}}diff --git a/app/Exceptions/FeedNotAddedException.php b/app/Exceptions/FeedNotAddedException.phpindex 02a8bc6be..350a17c56 100644--- a/app/Exceptions/FeedNotAddedException.php+++ b/app/Exceptions/FeedNotAddedException.php@@ -5,10 +5,10 @@ class FreshRSS_FeedNotAdded_Exception extends Exception {public function __construct($url, $feedName) {parent::__construct('Feed not added! ' . $url, 2147);- $this->$feedName = $feedName;+ $this->feedName = $feedName;}public function feedName() {- return $this->feedName();+ return $this->feedName;}}