summaryrefslogtreecommitdiffstats
path: root/lib/private/Preview/ProviderV2.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/Preview/ProviderV2.php')
-rw-r--r--lib/private/Preview/ProviderV2.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/Preview/ProviderV2.php b/lib/private/Preview/ProviderV2.php
index 766e00f074a..0cb7eb59e21 100644
--- a/lib/private/Preview/ProviderV2.php
+++ b/lib/private/Preview/ProviderV2.php
@@ -35,7 +35,7 @@ abstract class ProviderV2 implements IProviderV2 {
protected $options;
/** @var array */
- private $tmpFiles = [];
+ protected $tmpFiles = [];
/**
* Constructor
@@ -109,7 +109,7 @@ abstract class ProviderV2 implements IProviderV2 {
/**
* Clean any generated temporary files
*/
- protected function cleanTmpFiles() {
+ protected function cleanTmpFiles(): void {
foreach ($this->tmpFiles as $tmpFile) {
unlink($tmpFile);
}