add getNext() to searchResult.php

Adding a method getNext() to the SearchResult.php
I modified the indentation, that's why it shows so many changes but the only is:
public function getNext()
    {
        if (isset($this->value['next'])) {
            return $this->value['next'];
        }
    }

Best