Skip to content

Commit b24abce

Browse files
author
sangeet-joy_xero
committed
syntax changes
1 parent 5d5278b commit b24abce

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+50
-50
lines changed

lib/Models/Accounting/Accounts.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ public function jsonSerialize()
311311
if(isset($sanitizedObject->warnings)){
312312
$json['warnings'] = $sanitizedObject->warnings;
313313
}
314-
$json->Accounts = $sanitizedObject->Accounts;
314+
$json['Accounts'] = $sanitizedObject->Accounts;
315315
return $json;
316316
}
317317

lib/Models/Accounting/Actions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ public function jsonSerialize()
311311
if(isset($sanitizedObject->warnings)){
312312
$json['warnings'] = $sanitizedObject->warnings;
313313
}
314-
$json->Actions = $sanitizedObject->Actions;
314+
$json['Actions'] = $sanitizedObject->Actions;
315315
return $json;
316316
}
317317

lib/Models/Accounting/Allocations.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ public function jsonSerialize()
311311
if(isset($sanitizedObject->warnings)){
312312
$json['warnings'] = $sanitizedObject->warnings;
313313
}
314-
$json->Allocations = $sanitizedObject->Allocations;
314+
$json['Allocations'] = $sanitizedObject->Allocations;
315315
return $json;
316316
}
317317

lib/Models/Accounting/Attachments.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ public function jsonSerialize()
311311
if(isset($sanitizedObject->warnings)){
312312
$json['warnings'] = $sanitizedObject->warnings;
313313
}
314-
$json->Attachments = $sanitizedObject->Attachments;
314+
$json['Attachments'] = $sanitizedObject->Attachments;
315315
return $json;
316316
}
317317

lib/Models/Accounting/BankTransactions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,7 @@ public function jsonSerialize()
377377
if(isset($sanitizedObject->warnings)){
378378
$json['warnings'] = $sanitizedObject->warnings;
379379
}
380-
$json->BankTransactions = $sanitizedObject->BankTransactions;
380+
$json['BankTransactions'] = $sanitizedObject->BankTransactions;
381381
return $json;
382382
}
383383

lib/Models/Accounting/BankTransfers.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ public function jsonSerialize()
311311
if(isset($sanitizedObject->warnings)){
312312
$json['warnings'] = $sanitizedObject->warnings;
313313
}
314-
$json->BankTransfers = $sanitizedObject->BankTransfers;
314+
$json['BankTransfers'] = $sanitizedObject->BankTransfers;
315315
return $json;
316316
}
317317

lib/Models/Accounting/BatchPayments.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ public function jsonSerialize()
311311
if(isset($sanitizedObject->warnings)){
312312
$json['warnings'] = $sanitizedObject->warnings;
313313
}
314-
$json->BatchPayments = $sanitizedObject->BatchPayments;
314+
$json['BatchPayments'] = $sanitizedObject->BatchPayments;
315315
return $json;
316316
}
317317

lib/Models/Accounting/BrandingThemes.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ public function jsonSerialize()
311311
if(isset($sanitizedObject->warnings)){
312312
$json['warnings'] = $sanitizedObject->warnings;
313313
}
314-
$json->BrandingThemes = $sanitizedObject->BrandingThemes;
314+
$json['BrandingThemes'] = $sanitizedObject->BrandingThemes;
315315
return $json;
316316
}
317317

lib/Models/Accounting/Budgets.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ public function jsonSerialize()
311311
if(isset($sanitizedObject->warnings)){
312312
$json['warnings'] = $sanitizedObject->warnings;
313313
}
314-
$json->Budgets = $sanitizedObject->Budgets;
314+
$json['Budgets'] = $sanitizedObject->Budgets;
315315
return $json;
316316
}
317317

lib/Models/Accounting/CISOrgSettings.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ public function jsonSerialize()
311311
if(isset($sanitizedObject->warnings)){
312312
$json['warnings'] = $sanitizedObject->warnings;
313313
}
314-
$json->CISOrgSettings = $sanitizedObject->CISOrgSettings;
314+
$json['CISOrgSettings'] = $sanitizedObject->CISOrgSettings;
315315
return $json;
316316
}
317317

0 commit comments

Comments
 (0)