Fixed variable name

This commit is contained in:
Josh Sherman 2016-02-13 18:20:48 -05:00
parent f707f6084e
commit 0dc3d30f4c

View file

@ -20,7 +20,7 @@ class Redirect
/** /**
* @param string $destination URL to redirect to * @param string $destination URL to redirect to
*/ */
public function __construct($url, $permanent = true) public function __construct($destination, $permanent = true)
{ {
if (strpos($destination, '://') === false) { if (strpos($destination, '://') === false) {
if ( if (