From 0f56b6d62cd4af2af5276f7c073737b2d07b0ffd Mon Sep 17 00:00:00 2001 From: Bernhard Posselt Date: Thu, 26 Jun 2014 11:41:21 +0200 Subject: style fixes --- utility/faviconfetcher.php | 5 ++++- utility/opmlexporter.php | 4 ++-- 2 files changed, 6 insertions(+), 3 deletions(-) (limited to 'utility') diff --git a/utility/faviconfetcher.php b/utility/faviconfetcher.php index 88a1af317..10088dad3 100644 --- a/utility/faviconfetcher.php +++ b/utility/faviconfetcher.php @@ -89,6 +89,8 @@ class FaviconFetcher { } } } + + return null; } @@ -117,7 +119,8 @@ class FaviconFetcher { } $file = $this->getFile($url); - $sniffer = new \SimplePie_Content_Type_Sniffer($file); + /** @noinspection PhpParamsInspection */ + $sniffer = new \SimplePie_Content_Type_Sniffer($file); return $sniffer->image() !== false; } diff --git a/utility/opmlexporter.php b/utility/opmlexporter.php index 8dfb996c6..98403e7f2 100644 --- a/utility/opmlexporter.php +++ b/utility/opmlexporter.php @@ -21,8 +21,8 @@ class OPMLExporter { /** * Generates the OPML for the active user * - * @param Folder[] $folders - * @param Feed[] $feeds + * @param \OCA\News\Db\Folder[] $folders + * @param \OCA\News\Db\Feed[] $feeds * @return \DomDocument the document */ public function build($folders, $feeds){ -- cgit v1.2.3