update lock clucknut
All checks were successful
All checks were successful
This commit is contained in:
4
vendor/guzzlehttp/psr7/src/LimitStream.php
vendored
4
vendor/guzzlehttp/psr7/src/LimitStream.php
vendored
@@ -63,9 +63,9 @@ public function getSize(): ?int
|
||||
return null;
|
||||
} elseif ($this->limit === -1) {
|
||||
return $length - $this->offset;
|
||||
} else {
|
||||
return min($this->limit, $length - $this->offset);
|
||||
}
|
||||
|
||||
return min($this->limit, $length - $this->offset);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user