Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2015-09-29 15:40:14 +0300
committerRobin Appelman <icewind@owncloud.com>2015-10-01 14:17:22 +0300
commit1c3e28a73b602423dfc4ba447b26dcd3b8b45fac (patch)
treeedf1270f7b3fc440b9e43a9e31e2b5bffe95b0be /lib/private/preview.php
parentdc49e767472ef67bcfd6318133537bef03ce7a7c (diff)
Add tests
Diffstat (limited to 'lib/private/preview.php')
-rw-r--r--lib/private/preview.php2
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()) {