فهرست منبع

Merge branch 'FreshRSS/dev' into cli

Alexandre Alapetite 9 سال پیش
والد
کامیت
6d42acf5fd
2فایلهای تغییر یافته به همراه4 افزوده شده و 4 حذف شده
  1. 2 2
      app/Exceptions/AlreadySubscribedException.php
  2. 2 2
      app/Exceptions/FeedNotAddedException.php

+ 2 - 2
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;
 	}
 }

+ 2 - 2
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;
 	}
 }