aboutsummaryrefslogtreecommitdiffstats
path: root/src/Gzdecode.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/Gzdecode.php')
-rw-r--r--src/Gzdecode.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Gzdecode.php b/src/Gzdecode.php
index 786125e..67cbfef 100644
--- a/src/Gzdecode.php
+++ b/src/Gzdecode.php
@@ -1,4 +1,6 @@
<?php
+
+declare(strict_types=1);
/**
* SimplePie
*
@@ -202,6 +204,8 @@ class Gzdecode
public function parse()
{
if ($this->compressed_size >= $this->min_compressed_size) {
+ $len = 0;
+
// Check ID1, ID2, and CM
if (substr($this->compressed_data, 0, 3) !== "\x1F\x8B\x08") {
return false;