protected function performUpdate(?Session $session, array $payload)
    {
        if ($session === null) {
            throw new NullValueException('Attempted to update null session');
        }

        return $session->updateExisting($payload);
    }
protected function performUpdate(?Session $session, array $payload)
    {
        if ($session === null) {
            throw new NullValueException('Attempted to update null session');
        }

        return $session->updateExisting($payload);
    }
protected function performUpdate ( ? Session $ session , array $ payload ) { if ( $ session === null ) { throw new NullValueException ( 'Attempted to update null session' ) ; } return $ session -> updateExisting ( $ payload ) ; }
Perform an update operation on the session ID.

@param \Laranix\Session\Session $session
@param  array                   $payload
@return int
@throws \Laranix\Support\Exception\NullValueException
Perform an update operation on the session ID .