src/Resource/Multi.php
Method copy
has 39 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function copy(
LibraryType $srcLibrary,
array $srcPaths,
LibraryType $dstLibrary,
string $dstDirectoryPath,
Method delete
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function delete(LibraryType $library, array $paths): bool
{
// do not allow empty paths
if (empty($paths)) {
return false;
Method copy
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
LibraryType $srcLibrary,
array $srcPaths,
LibraryType $dstLibrary,
string $dstDirectoryPath,
int $operation = self::OPERATION_COPY