From 1c3e28a73b602423dfc4ba447b26dcd3b8b45fac Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Tue, 29 Sep 2015 14:40:14 +0200 Subject: Add tests --- lib/private/preview.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/private/preview.php b/lib/private/preview.php index 24a9082b176..b2accdfd00f 100644 --- a/lib/private/preview.php +++ b/lib/private/preview.php @@ -531,7 +531,7 @@ class Preview { * @param string $name * @return bool */ - private function thumbnailSizeExists($allThumbnails, $name) { + private function thumbnailSizeExists(array $allThumbnails, $name) { foreach ($allThumbnails as $thumbnail) { if ($name === $thumbnail->getName()) { -- cgit v1.2.3