private function getRedirects()
    {
        $httpWithJsBackup = [
            $this->httpRedirect,
            $this->jsRedirect
        ];

        return $this->redirect->isTypeJavaScript() ? [$this->jsRedirect] : $httpWithJsBackup;
    }
private function getRedirects()
    {
        $httpWithJsBackup = [
            $this->httpRedirect,
            $this->jsRedirect
        ];

        return $this->redirect->isTypeJavaScript() ? [$this->jsRedirect] : $httpWithJsBackup;
    }
private function getRedirects ( ) { $ httpWithJsBackup = [ $ this -> httpRedirect , $ this -> jsRedirect ] ; return $ this -> redirect -> isTypeJavaScript ( ) ? [ $ this -> jsRedirect ] : $ httpWithJsBackup ; }
By default will run HTTP redirect with JS fallback if HTTP
does not work. If JS is set as the main redirect, it will
just run the JS redirect

@return Type\TypeInterface[]
By default will run HTTP redirect with JS fallback if HTTP does not work . If JS is set as the main redirect it will just run the JS redirect