Skip to content

Commit 7a9f956

Browse files
committed
Fix failed static test.
1 parent b27a576 commit 7a9f956

File tree

1 file changed

+5
-3
lines changed
  • lib/internal/Magento/Framework/Backup/Archive

1 file changed

+5
-3
lines changed

lib/internal/Magento/Framework/Backup/Archive/Tar.php

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@
1515
use RecursiveDirectoryIterator;
1616
use RecursiveIteratorIterator;
1717

18+
/**
19+
* Class to work with tar archives
20+
*/
1821
class Tar extends \Magento\Framework\Archive\Tar
1922
{
2023
/**
@@ -25,8 +28,7 @@ class Tar extends \Magento\Framework\Archive\Tar
2528
protected $_skipFiles = [];
2629

2730
/**
28-
* Overridden \Magento\Framework\Archive\Tar::_createTar method that does the same actions as it's parent but
29-
* filters files using \Magento\Framework\Backup\Filesystem\Iterator\Filter
31+
* Method same as it's parent but filters files using \Magento\Framework\Backup\Filesystem\Iterator\Filter
3032
*
3133
* @param bool $skipRoot
3234
* @param bool $finalize
@@ -50,7 +52,7 @@ protected function _createTar($skipRoot = false, $finalize = false)
5052

5153
foreach ($iterator as $item) {
5254
// exclude symlinks to do not get duplicates after follow symlinks in RecursiveDirectoryIterator
53-
if($item->isLink()) {
55+
if ($item->isLink()) {
5456
continue;
5557
}
5658
$this->_setCurrentFile($item->getPathname());

0 commit comments

Comments
 (0)