Skip to content

Commit 6045387

Browse files
committed
chore: define compressionSupported
1 parent 83613ac commit 6045387

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Http/Http.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ class Http extends Base
5656
*/
5757
protected bool $compression = false;
5858
protected int $compressionMinSize = Http::COMPRESSION_MIN_SIZE_DEFAULT;
59-
protected mixed $compressionSupported;
59+
protected mixed $compressionSupported = [];
6060

6161
/**
6262
* Http

src/Http/Response.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ abstract class Response
260260
/**
261261
* @var mixed
262262
*/
263-
protected mixed $compressionSupported;
263+
protected mixed $compressionSupported = [];
264264

265265
/**
266266
* Response constructor.

0 commit comments

Comments
 (0)