|
@@ -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.