@@ -48,7 +48,7 @@ discard block |
||
48 | 48 | */ |
49 | 49 | public function requestSource($name) |
50 | 50 | { |
51 | - return $this->exec('requestSource', ['source' => $name]); |
|
51 | + return $this->exec('requestSource', [ 'source' => $name ]); |
|
52 | 52 | } |
53 | 53 | |
54 | 54 | /** |
@@ -60,7 +60,7 @@ discard block |
||
60 | 60 | { |
61 | 61 | return $this->exec( |
62 | 62 | 'getContacts', |
63 | - ['idGroup' => $groupId, 'phone' => $phone] |
|
63 | + [ 'idGroup' => $groupId, 'phone' => $phone ] |
|
64 | 64 | ); |
65 | 65 | } |
66 | 66 | |
@@ -70,7 +70,7 @@ discard block |
||
70 | 70 | */ |
71 | 71 | public function getPhoneInfo($phone) |
72 | 72 | { |
73 | - return $this->exec('getPhoneInfo', ['phone' => $phone]); |
|
73 | + return $this->exec('getPhoneInfo', [ 'phone' => $phone ]); |
|
74 | 74 | } |
75 | 75 | |
76 | 76 | /** |
@@ -91,7 +91,7 @@ discard block |
||
91 | 91 | { |
92 | 92 | return $this->exec( |
93 | 93 | 'getGroups', |
94 | - ['id' => $groupId, 'name' => $groupName] |
|
94 | + [ 'id' => $groupId, 'name' => $groupName ] |
|
95 | 95 | ); |
96 | 96 | } |
97 | 97 | |
@@ -111,7 +111,7 @@ discard block |
||
111 | 111 | */ |
112 | 112 | public function editGroup($name, $groupId) |
113 | 113 | { |
114 | - return $this->exec('saveGroup', ['id' => $groupId, 'name' => $name]); |
|
114 | + return $this->exec('saveGroup', [ 'id' => $groupId, 'name' => $name ]); |
|
115 | 115 | } |
116 | 116 | |
117 | 117 | /** |
@@ -129,7 +129,7 @@ discard block |
||
129 | 129 | */ |
130 | 130 | public function removeContact($phone, $groupId = null) |
131 | 131 | { |
132 | - return $this->exec('removeContact', ['phone' => $phone, 'groupId' => $groupId]); |
|
132 | + return $this->exec('removeContact', [ 'phone' => $phone, 'groupId' => $groupId ]); |
|
133 | 133 | } |
134 | 134 | |
135 | 135 | /** |