protected function finishLargeFile($fileId, array $sha1s)
    {
        $response = $this->generateAuthenticatedClient([
            'fileId'        => $fileId,
            'partSha1Array' => $sha1s,
        ])->request('POST', '/b2_finish_large_file');

        return new File(
            $response['fileId'],
            $response['fileName'],
            $response['contentSha1'],
            $response['contentLength'],
            $response['contentType'],
            $response['fileInfo'],
            $response['bucketId'],
            $response['action'],
            $response['uploadTimestamp']
        );
    }
protected function finishLargeFile($fileId, array $sha1s)
    {
        $response = $this->generateAuthenticatedClient([
            'fileId'        => $fileId,
            'partSha1Array' => $sha1s,
        ])->request('POST', '/b2_finish_large_file');

        return new File(
            $response['fileId'],
            $response['fileName'],
            $response['contentSha1'],
            $response['contentLength'],
            $response['contentType'],
            $response['fileInfo'],
            $response['bucketId'],
            $response['action'],
            $response['uploadTimestamp']
        );
    }
protected function finishLargeFile ( $ fileId , array $ sha1s ) { $ response = $ this -> generateAuthenticatedClient ( [ 'fileId' => $ fileId , 'partSha1Array' => $ sha1s , ] ) -> request ( 'POST' , '/b2_finish_large_file' ) ; return new File ( $ response [ 'fileId' ] , $ response [ 'fileName' ] , $ response [ 'contentSha1' ] , $ response [ 'contentLength' ] , $ response [ 'contentType' ] , $ response [ 'fileInfo' ] , $ response [ 'bucketId' ] , $ response [ 'action' ] , $ response [ 'uploadTimestamp' ] ) ; }
finishes the large file upload proceedure.

@param $fileId
@param array $sha1s

@throws GuzzleException

@return File
finishes the large file upload proceedure .