Skip to content

Commit b2319d6

Browse files
committed
$this not $response here
1 parent 2985281 commit b2319d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Omnipay/Common/Message/AbstractResponse.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,6 @@ public function redirect()
106106
exit;
107107
}
108108

109-
throw new RuntimeException('Invalid redirect method "'.$response->getRedirectMethod().'".');
109+
throw new RuntimeException('Invalid redirect method "'.$this->getRedirectMethod().'".');
110110
}
111111
}

0 commit comments

Comments
 (0)