Completed
Pull Request — master (#29)
by
unknown
02:11
created
src/Utils/Strings.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -23,12 +23,12 @@
 block discarded – undo
23 23
 		return $str ? mb_substr($str, 0, $limit) : null; // max length from API
24 24
 	}
25 25
 
26
-    /**
27
-     * @param string $account
28
-     * @param string|NULL $bankCode
29
-     * @return Account\Bank
30
-     * @throws \h4kuna\Fio\AccountException
31
-     */
26
+	/**
27
+	 * @param string $account
28
+	 * @param string|NULL $bankCode
29
+	 * @return Account\Bank
30
+	 * @throws \h4kuna\Fio\AccountException
31
+	 */
32 32
 	public static function createAccount($account, $bankCode = null)
33 33
 	{
34 34
 		if ($bankCode) {
Please login to merge, or discard this patch.
src/Utils/FioFactory.php 1 patch
Indentation   +21 added lines, -21 removed lines patch added patch discarded remove patch
@@ -32,21 +32,21 @@  discard block
 block discarded – undo
32 32
 		$this->temp = $temp ?: sys_get_temp_dir();
33 33
 	}
34 34
 
35
-    /**
36
-     * @param string $name Configured account name from AccountCollection
37
-     * @return Fio\FioRead
38
-     * @throws Fio\AccountException
39
-     */
35
+	/**
36
+	 * @param string $name Configured account name from AccountCollection
37
+	 * @return Fio\FioRead
38
+	 * @throws Fio\AccountException
39
+	 */
40 40
 	public function createFioRead($name = null)
41 41
 	{
42 42
 		return new Fio\FioRead($this->getQueue(), $this->getAccount($name), $this->createReader());
43 43
 	}
44 44
 
45
-    /**
46
-     * @param string $name Configured account name from AccountCollection
47
-     * @return Fio\FioPay
48
-     * @throws Fio\AccountException
49
-     */
45
+	/**
46
+	 * @param string $name Configured account name from AccountCollection
47
+	 * @return Fio\FioPay
48
+	 * @throws Fio\AccountException
49
+	 */
50 50
 	public function createFioPay($name = null)
51 51
 	{
52 52
 		return new Fio\FioPay(
@@ -63,12 +63,12 @@  discard block
 block discarded – undo
63 63
 		return new Fio\Request\Queue($this->temp);
64 64
 	}
65 65
 
66
-    /**
67
-     * @param array $accounts
68
-     * @return Fio\Account\AccountCollection
69
-     * @throws Fio\AccountException
70
-     */
71
-    protected function createAccountCollection(array $accounts)
66
+	/**
67
+	 * @param array $accounts
68
+	 * @return Fio\Account\AccountCollection
69
+	 * @throws Fio\AccountException
70
+	 */
71
+	protected function createAccountCollection(array $accounts)
72 72
 	{
73 73
 		return Fio\Account\AccountCollectionFactory::create($accounts);
74 74
 	}
@@ -78,11 +78,11 @@  discard block
 block discarded – undo
78 78
 		return $this->accountCollection;
79 79
 	}
80 80
 
81
-    /**
82
-     * @param string $name Configured account name from AccountCollection
83
-     * @return Fio\Account\FioAccount
84
-     * @throws Fio\AccountException
85
-     */
81
+	/**
82
+	 * @param string $name Configured account name from AccountCollection
83
+	 * @return Fio\Account\FioAccount
84
+	 * @throws Fio\AccountException
85
+	 */
86 86
 	final protected function getAccount($name)
87 87
 	{
88 88
 		if ($name) {
Please login to merge, or discard this patch.