src/Tus/Server.php
protected function verifyChecksum(string $checksum, string $filePath) : bool
    {
        // Skip if checksum is empty.
        if (empty($checksum)) {
            return true;
        }

        return $checksum === $this->getServerChecksum($filePath);
    }
protected function verifyChecksum(string $checksum, string $filePath) : bool
    {
        // Skip if checksum is empty.
        if (empty($checksum)) {
            return true;
        }

        return $checksum === $this->getServerChecksum($filePath);
    }
protected function verifyChecksum ( string $ checksum , string $ filePath ) : bool { // Skip if checksum is empty. if ( empty ( $ checksum ) ) { return true ; } return $ checksum === $ this -> getServerChecksum ( $ filePath ) ; }
Verify checksum if available.

@param string $checksum
@param string $filePath

@return bool
Verify checksum if available .