src/Tus/Server.php
protected function isExpired($contents) : bool
    {
        $isExpired = empty($contents['expires_at']) || Carbon::parse($contents['expires_at'])->lt(Carbon::now());

        if ($isExpired && $contents['offset'] !== $contents['size']) {
            return true;
        }

        return false;
    }
protected function isExpired($contents) : bool
    {
        $isExpired = empty($contents['expires_at']) || Carbon::parse($contents['expires_at'])->lt(Carbon::now());

        if ($isExpired && $contents['offset'] !== $contents['size']) {
            return true;
        }

        return false;
    }
protected function isExpired ( $ contents ) : bool { $ isExpired = empty ( $ contents [ 'expires_at' ] ) || Carbon :: parse ( $ contents [ 'expires_at' ] ) -> lt ( Carbon :: now ( ) ) ; if ( $ isExpired && $ contents [ 'offset' ] !== $ contents [ 'size' ] ) { return true ; } return false ; }
Get expired but incomplete uploads.

@param array|null $contents

@return bool
Get expired but incomplete uploads .