src/Zephyrus/Network/HttpRequester/RequestTypes/HttpUploadRequest.php
Method uploadAsChunks
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function uploadAsChunks(string $filePath, array $payload = [], ?callable $callback = null, int $chuckSize = 1024000 * 20)
{
if (!is_readable($filePath)) {
throw new InvalidArgumentException("Specified filepath [$filePath] is not readable and thus cannot be prepared as a remote request file transfer.");
}