Completed
Push — master ( db1d86...8cfad3 )
by Gareth
03:04
created
examples/contacts/createContacts.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@
 block discarded – undo
4 4
 
5 5
 $api = API::withUsernameAndPassword('server', 'username', 'password');
6 6
 
7
-$api->createContacts(array (
7
+$api->createContacts(array(
8 8
     'GivenName' => 'John',
9 9
     'Surname' => 'Smith',
10 10
     'EmailAddresses' => array(
Please login to merge, or discard this patch.
examples/contacts/updateContact.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -15,8 +15,8 @@
 block discarded – undo
15 15
 //"EmailAddress:key" need to have the same structure as when we created the value
16 16
 $api->updateContactItem($contact[0]->getItemId(), array(
17 17
     'GivenName' => 'Jane',
18
-    'EmailAddress:EmailAddress1' => array (
19
-        'EmailAddresses' => array (
18
+    'EmailAddress:EmailAddress1' => array(
19
+        'EmailAddresses' => array(
20 20
             'Entry' => array('Key' => 'EmailAddress1', '_value' => '[email protected]')
21 21
         )
22 22
     )
Please login to merge, or discard this patch.