@@ -51,7 +51,7 @@ discard block |
||
| 51 | 51 | */ |
| 52 | 52 | public function requestSource($name) |
| 53 | 53 | { |
| 54 | - return $this->exec('requestSource', ['source' => $name]); |
|
| 54 | + return $this->exec('requestSource', [ 'source' => $name ]); |
|
| 55 | 55 | } |
| 56 | 56 | |
| 57 | 57 | /** |
@@ -63,7 +63,7 @@ discard block |
||
| 63 | 63 | { |
| 64 | 64 | return $this->exec( |
| 65 | 65 | 'getContacts', |
| 66 | - ['idGroup' => $groupId, 'phone' => $phone] |
|
| 66 | + [ 'idGroup' => $groupId, 'phone' => $phone ] |
|
| 67 | 67 | ); |
| 68 | 68 | } |
| 69 | 69 | |
@@ -73,7 +73,7 @@ discard block |
||
| 73 | 73 | */ |
| 74 | 74 | public function getPhoneInfo($phone) |
| 75 | 75 | { |
| 76 | - return $this->exec('getPhoneInfo', ['phone' => $phone]); |
|
| 76 | + return $this->exec('getPhoneInfo', [ 'phone' => $phone ]); |
|
| 77 | 77 | } |
| 78 | 78 | |
| 79 | 79 | /** |
@@ -90,11 +90,11 @@ discard block |
||
| 90 | 90 | * @param string|null $groupName |
| 91 | 91 | * @return array|null |
| 92 | 92 | */ |
| 93 | - public function getGroups($groupId = null, $groupName = null) |
|
| 93 | + public function getGroups($groupId = null, $groupName = null) |
|
| 94 | 94 | { |
| 95 | 95 | return $this->exec( |
| 96 | 96 | 'getGroups', |
| 97 | - ['id' => $groupId, 'name' => $groupName] |
|
| 97 | + [ 'id' => $groupId, 'name' => $groupName ] |
|
| 98 | 98 | ); |
| 99 | 99 | } |
| 100 | 100 | |
@@ -114,7 +114,7 @@ discard block |
||
| 114 | 114 | */ |
| 115 | 115 | public function editGroup($name, $id) |
| 116 | 116 | { |
| 117 | - return $this->exec('saveGroup', ['id' => $id, 'name' => $name]); |
|
| 117 | + return $this->exec('saveGroup', [ 'id' => $id, 'name' => $name ]); |
|
| 118 | 118 | } |
| 119 | 119 | |
| 120 | 120 | /** |
@@ -132,7 +132,7 @@ discard block |
||
| 132 | 132 | */ |
| 133 | 133 | public function removeContact($phone, $groupId = null) |
| 134 | 134 | { |
| 135 | - return $this->exec('removeContact', ['phone' => $phone, 'groupId' => $groupId]); |
|
| 135 | + return $this->exec('removeContact', [ 'phone' => $phone, 'groupId' => $groupId ]); |
|
| 136 | 136 | } |
| 137 | 137 | |
| 138 | 138 | /** |