Skip to content

Commit 0239989

Browse files
authored
Merge pull request #19 from RTLer/analysis-zY9Wv0
Apply fixes from StyleCI
2 parents af892c5 + c0fe0a6 commit 0239989

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/Zarinpal.php

+6-6
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
class Zarinpal
99
{
10-
private $redirectUrl = "https://www.zarinpal.com/pg/StartPay/%u";
10+
private $redirectUrl = 'https://www.zarinpal.com/pg/StartPay/%u';
1111
private $merchantID;
1212
private $driver;
1313
private $Authority;
@@ -83,7 +83,7 @@ public function verify($status, $amount, $authority)
8383

8484
public function redirect()
8585
{
86-
header('Location: ' . sprintf($this->redirectUrl, $this->Authority));
86+
header('Location: '.sprintf($this->redirectUrl, $this->Authority));
8787
die;
8888
}
8989

@@ -96,19 +96,19 @@ public function getDriver()
9696
}
9797

9898
/**
99-
* active sandbox mod for test env
99+
* active sandbox mod for test env.
100100
*/
101101
public function enableSandbox()
102102
{
103-
$this->redirectUrl = "https://sandbox.zarinpal.com/pg/StartPay/%u";
103+
$this->redirectUrl = 'https://sandbox.zarinpal.com/pg/StartPay/%u';
104104
$this->getDriver()->enableSandbox();
105105
}
106106

107107
/**
108-
* active zarinGate mode
108+
* active zarinGate mode.
109109
*/
110110
public function isZarinGate()
111111
{
112-
$this->redirectUrl = $this->redirectUrl."/ZarinGate";
112+
$this->redirectUrl = $this->redirectUrl.'/ZarinGate';
113113
}
114114
}

0 commit comments

Comments
 (0)