Skip to content

Commit a501a56

Browse files
committed
fix: define compression supported
1 parent 9112676 commit a501a56

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/App.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ class App
109109
*/
110110
protected bool $compression = false;
111111
protected int $compressionMinSize = App::COMPRESSION_MIN_SIZE_DEFAULT;
112-
protected mixed $compressionSupported;
112+
protected mixed $compressionSupported = [];
113113

114114
/**
115115
* App

src/Response.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ 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)