mirror of
https://github.com/Ne-Lexa/php-zip.git
synced 2025-08-29 09:50:40 +02:00
Updated composer.json regarding unit tests, and corrected PSR implementation
This commit is contained in:
@@ -1299,11 +1299,11 @@ class ZipFile implements ZipFileInterface
|
||||
}
|
||||
|
||||
$stream = new ResponseStream($handle);
|
||||
$response->withHeader('Content-Type', $mimeType);
|
||||
$response->withHeader('Content-Disposition', $contentDispositionValue);
|
||||
$response->withHeader('Content-Length', $stream->getSize());
|
||||
$response->withBody($stream);
|
||||
return $response;
|
||||
return $response
|
||||
->withHeader('Content-Type', $mimeType)
|
||||
->withHeader('Content-Disposition', $contentDispositionValue)
|
||||
->withHeader('Content-Length', $stream->getSize())
|
||||
->withBody($stream);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user