Completed
Pull Request — master (#66)
by
unknown
01:53
created
src/Tus/Server.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -472,7 +472,7 @@
 block discarded – undo
472 472
 
473 473
             // If upload is done, verify checksum and trigger event.
474 474
             if ($offset === $fileSize) {
475
-                if (! $this->verifyChecksum($checksum, $meta['file_path'])) {
475
+                if ( ! $this->verifyChecksum($checksum, $meta['file_path'])) {
476 476
                     return $this->response->send(null, self::HTTP_CHECKSUM_MISMATCH);
477 477
                 }
478 478
                 $this->event(\TusPhp\Events\Completed::class, $file, $this->getRequest(), $this->getResponse());
Please login to merge, or discard this patch.