Skip to content

Commit 7e74d4e

Browse files
author
Oleksandr Iegorov
committed
MAGETWO-95853: Can't flush Images cache in admin
1 parent a14244e commit 7e74d4e

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

lib/internal/Magento/Framework/Filesystem/Directory/Write.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@
99
use Magento\Framework\Exception\FileSystemException;
1010
use Magento\Framework\Exception\ValidatorException;
1111

12+
/**
13+
* Write Interface implementation
14+
*/
1215
class Write extends Read implements WriteInterface
1316
{
1417
/**
@@ -289,7 +292,7 @@ public function touch($path, $modificationTime = null)
289292
/**
290293
* Check if given path is writable
291294
*
292-
* @param null $path
295+
* @param string|null $path
293296
* @return bool
294297
* @throws \Magento\Framework\Exception\FileSystemException
295298
* @throws ValidatorException

lib/internal/Magento/Framework/Filesystem/Driver/File.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414

1515
/**
1616
* Class File
17+
*
1718
* @package Magento\Framework\Filesystem\Driver
1819
* @SuppressWarnings(PHPMD.ExcessiveClassComplexity)
1920
*/
@@ -855,6 +856,8 @@ public function fileUnlock($resource)
855856
}
856857

857858
/**
859+
* Retrieves absolute path
860+
*
858861
* @param string $basePath
859862
* @param string $path
860863
* @param string|null $scheme

0 commit comments

Comments
 (0)