mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-19 20:11:29 +00:00
plugin cleanup re: phpstan 1.0 warnings
This commit is contained in:
@@ -827,6 +827,7 @@ class Af_RedditImgur extends Plugin {
|
||||
return $this->get_header($url, CURLINFO_CONTENT_TYPE, $useragent);
|
||||
}
|
||||
|
||||
// @phpstan-ignore-next-line
|
||||
private function get_location($url, $useragent = false) {
|
||||
return $this->get_header($url, CURLINFO_EFFECTIVE_URL, $useragent);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user