diff options
author | Robin Appelman <icewind@owncloud.com> | 2015-09-29 14:40:14 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2015-10-01 13:17:22 +0200 |
commit | 1c3e28a73b602423dfc4ba447b26dcd3b8b45fac (patch) | |
tree | edf1270f7b3fc440b9e43a9e31e2b5bffe95b0be /lib | |
parent | dc49e767472ef67bcfd6318133537bef03ce7a7c (diff) | |
download | nextcloud-server-1c3e28a73b602423dfc4ba447b26dcd3b8b45fac.tar.gz nextcloud-server-1c3e28a73b602423dfc4ba447b26dcd3b8b45fac.zip |
Add tests
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/preview.php | 2 |
1 files changed, 1 insertions, 1 deletions
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()) { |