Add more throw tags
This commit is contained in:
parent
eafe6b88bf
commit
9fb06e1556
1 changed files with 7 additions and 0 deletions
|
|
@ -122,6 +122,7 @@ final class YouTubeExtension extends Minz_Extension
|
||||||
/**
|
/**
|
||||||
* @throws Minz_PDOConnectionException
|
* @throws Minz_PDOConnectionException
|
||||||
* @throws Minz_ConfigurationNamespaceException
|
* @throws Minz_ConfigurationNamespaceException
|
||||||
|
* @throws Minz_PermissionDeniedException
|
||||||
*/
|
*/
|
||||||
public function resetAllIcons(): void {
|
public function resetAllIcons(): void {
|
||||||
$feedDAO = FreshRSS_Factory::createFeedDao();
|
$feedDAO = FreshRSS_Factory::createFeedDao();
|
||||||
|
|
@ -156,6 +157,9 @@ final class YouTubeExtension extends Minz_Extension
|
||||||
Minz_Log::debug('[' . $this->getName() . '] ' . $s);
|
Minz_Log::debug('[' . $this->getName() . '] ' . $s);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @throws FreshRSS_Context_Exception
|
||||||
|
*/
|
||||||
public function feedBeforeInsert(FreshRSS_Feed $feed): FreshRSS_Feed {
|
public function feedBeforeInsert(FreshRSS_Feed $feed): FreshRSS_Feed {
|
||||||
$this->loadConfigValues();
|
$this->loadConfigValues();
|
||||||
|
|
||||||
|
|
@ -166,6 +170,9 @@ final class YouTubeExtension extends Minz_Extension
|
||||||
return $feed;
|
return $feed;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @throws Minz_PermissionDeniedException
|
||||||
|
*/
|
||||||
public function setIconForFeed(FreshRSS_Feed $feed, bool $setValues = false): FreshRSS_Feed {
|
public function setIconForFeed(FreshRSS_Feed $feed, bool $setValues = false): FreshRSS_Feed {
|
||||||
if (!$this->isYtFeed($feed->website())) {
|
if (!$this->isYtFeed($feed->website())) {
|
||||||
return $feed;
|
return $feed;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue