Skip to content
This repository was archived by the owner on Jan 29, 2020. It is now read-only.

Commit 411aed2

Browse files
committed
Rename the DownloadResponse trait to a class
The intent here is to kick of the refactor of the trait to a class and to follow it up progressively with further commits that complete the refactor.
1 parent 20b01d9 commit 411aed2

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/Response/CsvResponse.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
*/
3030
class CsvResponse extends Response
3131
{
32-
use DownloadResponseTrait;
3332
use InjectContentTypeTrait;
3433

3534
/**

src/Response/DownloadResponseTrait.php renamed to src/Response/DownloadResponse.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@
1818
use function sprintf;
1919

2020
/**
21-
* Trait DownloadResponseTrait
21+
* Class DownloadResponse
2222
* @package Zend\Diactoros\Response
2323
*/
24-
trait DownloadResponseTrait
24+
class DownloadResponse extends Response
2525
{
2626
/**
2727
* A list of header keys required to be sent with a download response

0 commit comments

Comments
 (0)