src/Potter/Utils/Paginator.php
private function setQuery($_wp_query)
    {
        if (is_null($_wp_query)):
            global $wp_query;
            $this->wp_query = $wp_query;
        else:
            $this->wp_query = $_wp_query;
        endif;
    }
private function setQuery($_wp_query)
    {
        if (is_null($_wp_query)):
            global $wp_query;
            $this->wp_query = $wp_query;
        else:
            $this->wp_query = $_wp_query;
        endif;
    }
@param null $_wp_query

@return void