refactor: add space related lint rules

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>
This commit is contained in:
Saw-jan
2025-06-19 12:12:17 +05:45
parent a565108302
commit 2ef566b85b
25 changed files with 123 additions and 120 deletions

View File

@@ -102,7 +102,7 @@ class TusClient extends Client {
* @throws TusException | ConnectionException
*/
public function uploadRR(int $bytes = -1): ResponseInterface {
$bytes = $bytes < 0 ? $this->getFileSize() : $bytes;
$bytes = $bytes < 0 ? $this->getFileSize() : $bytes;
$offset = $this->partialOffset < 0 ? 0 : $this->partialOffset;
try {
// Check if this upload exists with HEAD request.