@@ -23,12 +23,12 @@ |
||
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) { |
@@ -32,21 +32,21 @@ discard block |
||
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 |
||
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 |
||
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) { |