diff options
| author | 2016-10-22 22:04:00 +0200 | |
|---|---|---|
| committer | 2016-10-22 22:04:00 +0200 | |
| commit | 4d6fdc589e89c2a7d4072b497d9dfd8504a1cb5c (patch) | |
| tree | e2ff9dca834a056298b216db5b02fc9a98b9aff5 /app | |
| parent | 6c48675a3049659731327066b9e5cf6bab1cffbe (diff) | |
Fix syntax error in new exceptions
Bug from https://github.com/FreshRSS/FreshRSS/pull/1261
Diffstat (limited to 'app')
| -rw-r--r-- | app/Exceptions/AlreadySubscribedException.php | 4 | ||||
| -rw-r--r-- | app/Exceptions/FeedNotAddedException.php | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/app/Exceptions/AlreadySubscribedException.php b/app/Exceptions/AlreadySubscribedException.php index 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.php index 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; } } |
