Skip to content

Commit bfa642b

Browse files
committed
codesniffer fixes
1 parent 882cb89 commit bfa642b

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

src/Message/RestPurchaseResponse.php

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
/**
33
* MultiSafepay Rest Api Purchase Response.
44
*/
5+
56
namespace Omnipay\MultiSafepay\Message;
67

78
use Omnipay\Common\Message\RedirectResponseInterface;
@@ -87,21 +88,21 @@
8788
* </code>
8889
*/
8990
class RestPurchaseResponse extends RestAbstractResponse implements RedirectResponseInterface
90-
{
91+
{
9192
/**
9293
* Is the response successful?
9394
*
94-
* @return boolean
95+
* @return bool
9596
*/
9697
public function isSuccessful()
9798
{
9899
if ($this->isRedirect()) {
99100
return false;
100101
}
101-
102+
102103
return parent::isSuccessful();
103104
}
104-
105+
105106
/**
106107
* {@inheritdoc}
107108
*/
@@ -115,8 +116,8 @@ public function isRedirect()
115116
*/
116117
public function getRedirectUrl()
117118
{
118-
if (! $this->isRedirect()) {
119-
return null;
119+
if (!$this->isRedirect()) {
120+
return;
120121
}
121122

122123
return $this->data['data']['payment_url'];
@@ -135,6 +136,6 @@ public function getRedirectMethod()
135136
*/
136137
public function getRedirectData()
137138
{
138-
return null;
139+
return;
139140
}
140141
}

0 commit comments

Comments
 (0)