Add LZ4 and refactor #43
Annotations
7 errors
🧪 Analyse code:
src/ResponseCompression.php#L22
Parameter #1 $response of method OpenSoutheners\LaravelVaporResponseCompression\ResponseCompression::shouldCompressResponse() expects Symfony\Component\HttpFoundation\Response, mixed given.
|
🧪 Analyse code:
src/ResponseCompression.php#L25
Cannot call method setContent() on mixed.
|
🧪 Analyse code:
src/ResponseCompression.php#L28
Cannot call method getContent() on mixed.
|
🧪 Analyse code:
src/ResponseCompression.php#L41
Cannot access property $headers on mixed.
|
🧪 Analyse code:
src/ResponseCompression.php#L41
Cannot call method add() on mixed.
|
🧪 Analyse code:
src/ResponseCompression.php#L73
Method OpenSoutheners\LaravelVaporResponseCompression\ResponseCompression::shouldCompressUsing() should return array{string, callable-string}|null but returns array{string, string}.
|
🧪 Analyse code
Process completed with exit code 1.
|
Loading