Skip to content

Commit

Permalink
syntax changes
Browse files Browse the repository at this point in the history
  • Loading branch information
sangeet-joy_xero committed Aug 1, 2024
1 parent 5d5278b commit b24abce
Show file tree
Hide file tree
Showing 50 changed files with 50 additions and 50 deletions.
2 changes: 1 addition & 1 deletion lib/Models/Accounting/Accounts.php
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ public function jsonSerialize()
if(isset($sanitizedObject->warnings)){
$json['warnings'] = $sanitizedObject->warnings;
}
$json->Accounts = $sanitizedObject->Accounts;
$json['Accounts'] = $sanitizedObject->Accounts;
return $json;
}

Expand Down
2 changes: 1 addition & 1 deletion lib/Models/Accounting/Actions.php
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ public function jsonSerialize()
if(isset($sanitizedObject->warnings)){
$json['warnings'] = $sanitizedObject->warnings;
}
$json->Actions = $sanitizedObject->Actions;
$json['Actions'] = $sanitizedObject->Actions;
return $json;
}

Expand Down
2 changes: 1 addition & 1 deletion lib/Models/Accounting/Allocations.php
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ public function jsonSerialize()
if(isset($sanitizedObject->warnings)){
$json['warnings'] = $sanitizedObject->warnings;
}
$json->Allocations = $sanitizedObject->Allocations;
$json['Allocations'] = $sanitizedObject->Allocations;
return $json;
}

Expand Down
2 changes: 1 addition & 1 deletion lib/Models/Accounting/Attachments.php
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ public function jsonSerialize()
if(isset($sanitizedObject->warnings)){
$json['warnings'] = $sanitizedObject->warnings;
}
$json->Attachments = $sanitizedObject->Attachments;
$json['Attachments'] = $sanitizedObject->Attachments;
return $json;
}

Expand Down
2 changes: 1 addition & 1 deletion lib/Models/Accounting/BankTransactions.php
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ public function jsonSerialize()
if(isset($sanitizedObject->warnings)){
$json['warnings'] = $sanitizedObject->warnings;
}
$json->BankTransactions = $sanitizedObject->BankTransactions;
$json['BankTransactions'] = $sanitizedObject->BankTransactions;
return $json;
}

Expand Down
2 changes: 1 addition & 1 deletion lib/Models/Accounting/BankTransfers.php
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ public function jsonSerialize()
if(isset($sanitizedObject->warnings)){
$json['warnings'] = $sanitizedObject->warnings;
}
$json->BankTransfers = $sanitizedObject->BankTransfers;
$json['BankTransfers'] = $sanitizedObject->BankTransfers;
return $json;
}

Expand Down
2 changes: 1 addition & 1 deletion lib/Models/Accounting/BatchPayments.php
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ public function jsonSerialize()
if(isset($sanitizedObject->warnings)){
$json['warnings'] = $sanitizedObject->warnings;
}
$json->BatchPayments = $sanitizedObject->BatchPayments;
$json['BatchPayments'] = $sanitizedObject->BatchPayments;
return $json;
}

Expand Down
2 changes: 1 addition & 1 deletion lib/Models/Accounting/BrandingThemes.php
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ public function jsonSerialize()
if(isset($sanitizedObject->warnings)){
$json['warnings'] = $sanitizedObject->warnings;
}
$json->BrandingThemes = $sanitizedObject->BrandingThemes;
$json['BrandingThemes'] = $sanitizedObject->BrandingThemes;
return $json;
}

Expand Down
2 changes: 1 addition & 1 deletion lib/Models/Accounting/Budgets.php
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ public function jsonSerialize()
if(isset($sanitizedObject->warnings)){
$json['warnings'] = $sanitizedObject->warnings;
}
$json->Budgets = $sanitizedObject->Budgets;
$json['Budgets'] = $sanitizedObject->Budgets;
return $json;
}

Expand Down
2 changes: 1 addition & 1 deletion lib/Models/Accounting/CISOrgSettings.php
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ public function jsonSerialize()
if(isset($sanitizedObject->warnings)){
$json['warnings'] = $sanitizedObject->warnings;
}
$json->CISOrgSettings = $sanitizedObject->CISOrgSettings;
$json['CISOrgSettings'] = $sanitizedObject->CISOrgSettings;
return $json;
}

Expand Down
2 changes: 1 addition & 1 deletion lib/Models/Accounting/CISSettings.php
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ public function jsonSerialize()
if(isset($sanitizedObject->warnings)){
$json['warnings'] = $sanitizedObject->warnings;
}
$json->CISSettings = $sanitizedObject->CISSettings;
$json['CISSettings'] = $sanitizedObject->CISSettings;
return $json;
}

Expand Down
2 changes: 1 addition & 1 deletion lib/Models/Accounting/ContactGroups.php
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ public function jsonSerialize()
if(isset($sanitizedObject->warnings)){
$json['warnings'] = $sanitizedObject->warnings;
}
$json->ContactGroups = $sanitizedObject->ContactGroups;
$json['ContactGroups'] = $sanitizedObject->ContactGroups;
return $json;
}

Expand Down
2 changes: 1 addition & 1 deletion lib/Models/Accounting/Contacts.php
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ public function jsonSerialize()
if(isset($sanitizedObject->warnings)){
$json['warnings'] = $sanitizedObject->warnings;
}
$json->Contacts = $sanitizedObject->Contacts;
$json['Contacts'] = $sanitizedObject->Contacts;
return $json;
}

Expand Down
2 changes: 1 addition & 1 deletion lib/Models/Accounting/CreditNotes.php
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ public function jsonSerialize()
if(isset($sanitizedObject->warnings)){
$json['warnings'] = $sanitizedObject->warnings;
}
$json->CreditNotes = $sanitizedObject->CreditNotes;
$json['CreditNotes'] = $sanitizedObject->CreditNotes;
return $json;
}

Expand Down
2 changes: 1 addition & 1 deletion lib/Models/Accounting/Currencies.php
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ public function jsonSerialize()
if(isset($sanitizedObject->warnings)){
$json['warnings'] = $sanitizedObject->warnings;
}
$json->Currencies = $sanitizedObject->Currencies;
$json['Currencies'] = $sanitizedObject->Currencies;
return $json;
}

Expand Down
2 changes: 1 addition & 1 deletion lib/Models/Accounting/Employees.php
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ public function jsonSerialize()
if(isset($sanitizedObject->warnings)){
$json['warnings'] = $sanitizedObject->warnings;
}
$json->Employees = $sanitizedObject->Employees;
$json['Employees'] = $sanitizedObject->Employees;
return $json;
}

Expand Down
2 changes: 1 addition & 1 deletion lib/Models/Accounting/ExpenseClaims.php
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ public function jsonSerialize()
if(isset($sanitizedObject->warnings)){
$json['warnings'] = $sanitizedObject->warnings;
}
$json->ExpenseClaims = $sanitizedObject->ExpenseClaims;
$json['ExpenseClaims'] = $sanitizedObject->ExpenseClaims;
return $json;
}

Expand Down
2 changes: 1 addition & 1 deletion lib/Models/Accounting/HistoryRecords.php
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ public function jsonSerialize()
if(isset($sanitizedObject->warnings)){
$json['warnings'] = $sanitizedObject->warnings;
}
$json->HistoryRecords = $sanitizedObject->HistoryRecords;
$json['HistoryRecords'] = $sanitizedObject->HistoryRecords;
return $json;
}

Expand Down
2 changes: 1 addition & 1 deletion lib/Models/Accounting/InvoiceReminders.php
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ public function jsonSerialize()
if(isset($sanitizedObject->warnings)){
$json['warnings'] = $sanitizedObject->warnings;
}
$json->InvoiceReminders = $sanitizedObject->InvoiceReminders;
$json['InvoiceReminders'] = $sanitizedObject->InvoiceReminders;
return $json;
}

Expand Down
2 changes: 1 addition & 1 deletion lib/Models/Accounting/Invoices.php
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ public function jsonSerialize()
if(isset($sanitizedObject->warnings)){
$json['warnings'] = $sanitizedObject->warnings;
}
$json->Invoices = $sanitizedObject->Invoices;
$json['Invoices'] = $sanitizedObject->Invoices;
return $json;
}

Expand Down
2 changes: 1 addition & 1 deletion lib/Models/Accounting/Items.php
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ public function jsonSerialize()
if(isset($sanitizedObject->warnings)){
$json['warnings'] = $sanitizedObject->warnings;
}
$json->Items = $sanitizedObject->Items;
$json['Items'] = $sanitizedObject->Items;
return $json;
}

Expand Down
2 changes: 1 addition & 1 deletion lib/Models/Accounting/Journals.php
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ public function jsonSerialize()
if(isset($sanitizedObject->warnings)){
$json['warnings'] = $sanitizedObject->warnings;
}
$json->Journals = $sanitizedObject->Journals;
$json['Journals'] = $sanitizedObject->Journals;
return $json;
}

Expand Down
2 changes: 1 addition & 1 deletion lib/Models/Accounting/LinkedTransactions.php
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ public function jsonSerialize()
if(isset($sanitizedObject->warnings)){
$json['warnings'] = $sanitizedObject->warnings;
}
$json->LinkedTransactions = $sanitizedObject->LinkedTransactions;
$json['LinkedTransactions'] = $sanitizedObject->LinkedTransactions;
return $json;
}

Expand Down
2 changes: 1 addition & 1 deletion lib/Models/Accounting/ManualJournals.php
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ public function jsonSerialize()
if(isset($sanitizedObject->warnings)){
$json['warnings'] = $sanitizedObject->warnings;
}
$json->ManualJournals = $sanitizedObject->ManualJournals;
$json['ManualJournals'] = $sanitizedObject->ManualJournals;
return $json;
}

Expand Down
2 changes: 1 addition & 1 deletion lib/Models/Accounting/OnlineInvoices.php
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ public function jsonSerialize()
if(isset($sanitizedObject->warnings)){
$json['warnings'] = $sanitizedObject->warnings;
}
$json->OnlineInvoices = $sanitizedObject->OnlineInvoices;
$json['OnlineInvoices'] = $sanitizedObject->OnlineInvoices;
return $json;
}

Expand Down
2 changes: 1 addition & 1 deletion lib/Models/Accounting/Organisations.php
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ public function jsonSerialize()
if(isset($sanitizedObject->warnings)){
$json['warnings'] = $sanitizedObject->warnings;
}
$json->Organisations = $sanitizedObject->Organisations;
$json['Organisations'] = $sanitizedObject->Organisations;
return $json;
}

Expand Down
2 changes: 1 addition & 1 deletion lib/Models/Accounting/Overpayments.php
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ public function jsonSerialize()
if(isset($sanitizedObject->warnings)){
$json['warnings'] = $sanitizedObject->warnings;
}
$json->Overpayments = $sanitizedObject->Overpayments;
$json['Overpayments'] = $sanitizedObject->Overpayments;
return $json;
}

Expand Down
2 changes: 1 addition & 1 deletion lib/Models/Accounting/PaymentServices.php
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ public function jsonSerialize()
if(isset($sanitizedObject->warnings)){
$json['warnings'] = $sanitizedObject->warnings;
}
$json->PaymentServices = $sanitizedObject->PaymentServices;
$json['PaymentServices'] = $sanitizedObject->PaymentServices;
return $json;
}

Expand Down
2 changes: 1 addition & 1 deletion lib/Models/Accounting/Payments.php
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ public function jsonSerialize()
if(isset($sanitizedObject->warnings)){
$json['warnings'] = $sanitizedObject->warnings;
}
$json->Payments = $sanitizedObject->Payments;
$json['Payments'] = $sanitizedObject->Payments;
return $json;
}

Expand Down
2 changes: 1 addition & 1 deletion lib/Models/Accounting/Prepayments.php
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ public function jsonSerialize()
if(isset($sanitizedObject->warnings)){
$json['warnings'] = $sanitizedObject->warnings;
}
$json->Prepayments = $sanitizedObject->Prepayments;
$json['Prepayments'] = $sanitizedObject->Prepayments;
return $json;
}

Expand Down
2 changes: 1 addition & 1 deletion lib/Models/Accounting/PurchaseOrders.php
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ public function jsonSerialize()
if(isset($sanitizedObject->warnings)){
$json['warnings'] = $sanitizedObject->warnings;
}
$json->PurchaseOrders = $sanitizedObject->PurchaseOrders;
$json['PurchaseOrders'] = $sanitizedObject->PurchaseOrders;
return $json;
}

Expand Down
2 changes: 1 addition & 1 deletion lib/Models/Accounting/Quotes.php
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ public function jsonSerialize()
if(isset($sanitizedObject->warnings)){
$json['warnings'] = $sanitizedObject->warnings;
}
$json->Quotes = $sanitizedObject->Quotes;
$json['Quotes'] = $sanitizedObject->Quotes;
return $json;
}

Expand Down
2 changes: 1 addition & 1 deletion lib/Models/Accounting/Receipts.php
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ public function jsonSerialize()
if(isset($sanitizedObject->warnings)){
$json['warnings'] = $sanitizedObject->warnings;
}
$json->Receipts = $sanitizedObject->Receipts;
$json['Receipts'] = $sanitizedObject->Receipts;
return $json;
}

Expand Down
2 changes: 1 addition & 1 deletion lib/Models/Accounting/RepeatingInvoices.php
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ public function jsonSerialize()
if(isset($sanitizedObject->warnings)){
$json['warnings'] = $sanitizedObject->warnings;
}
$json->RepeatingInvoices = $sanitizedObject->RepeatingInvoices;
$json['RepeatingInvoices'] = $sanitizedObject->RepeatingInvoices;
return $json;
}

Expand Down
2 changes: 1 addition & 1 deletion lib/Models/Accounting/Reports.php
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ public function jsonSerialize()
if(isset($sanitizedObject->warnings)){
$json['warnings'] = $sanitizedObject->warnings;
}
$json->Reports = $sanitizedObject->Reports;
$json['Reports'] = $sanitizedObject->Reports;
return $json;
}

Expand Down
2 changes: 1 addition & 1 deletion lib/Models/Accounting/TaxRates.php
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ public function jsonSerialize()
if(isset($sanitizedObject->warnings)){
$json['warnings'] = $sanitizedObject->warnings;
}
$json->TaxRates = $sanitizedObject->TaxRates;
$json['TaxRates'] = $sanitizedObject->TaxRates;
return $json;
}

Expand Down
2 changes: 1 addition & 1 deletion lib/Models/Accounting/TrackingCategories.php
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ public function jsonSerialize()
if(isset($sanitizedObject->warnings)){
$json['warnings'] = $sanitizedObject->warnings;
}
$json->TrackingCategories = $sanitizedObject->TrackingCategories;
$json['TrackingCategories'] = $sanitizedObject->TrackingCategories;
return $json;
}

Expand Down
2 changes: 1 addition & 1 deletion lib/Models/Accounting/TrackingOptions.php
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ public function jsonSerialize()
if(isset($sanitizedObject->warnings)){
$json['warnings'] = $sanitizedObject->warnings;
}
$json->TrackingOptions = $sanitizedObject->TrackingOptions;
$json['TrackingOptions'] = $sanitizedObject->TrackingOptions;
return $json;
}

Expand Down
2 changes: 1 addition & 1 deletion lib/Models/Accounting/Users.php
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ public function jsonSerialize()
if(isset($sanitizedObject->warnings)){
$json['warnings'] = $sanitizedObject->warnings;
}
$json->Users = $sanitizedObject->Users;
$json['Users'] = $sanitizedObject->Users;
return $json;
}

Expand Down
2 changes: 1 addition & 1 deletion lib/Models/PayrollAu/Employees.php
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ public function jsonSerialize()
if(isset($sanitizedObject->warnings)){
$json['warnings'] = $sanitizedObject->warnings;
}
$json->Employees = $sanitizedObject->Employees;
$json['Employees'] = $sanitizedObject->Employees;
return $json;
}

Expand Down
2 changes: 1 addition & 1 deletion lib/Models/PayrollAu/LeaveApplications.php
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ public function jsonSerialize()
if(isset($sanitizedObject->warnings)){
$json['warnings'] = $sanitizedObject->warnings;
}
$json->LeaveApplications = $sanitizedObject->LeaveApplications;
$json['LeaveApplications'] = $sanitizedObject->LeaveApplications;
return $json;
}

Expand Down
2 changes: 1 addition & 1 deletion lib/Models/PayrollAu/LeaveLines.php
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ public function jsonSerialize()
if(isset($sanitizedObject->warnings)){
$json['warnings'] = $sanitizedObject->warnings;
}
$json->LeaveLines = $sanitizedObject->LeaveLines;
$json['LeaveLines'] = $sanitizedObject->LeaveLines;
return $json;
}

Expand Down
2 changes: 1 addition & 1 deletion lib/Models/PayrollAu/PayItems.php
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ public function jsonSerialize()
if(isset($sanitizedObject->warnings)){
$json['warnings'] = $sanitizedObject->warnings;
}
$json->PayItems = $sanitizedObject->PayItems;
$json['PayItems'] = $sanitizedObject->PayItems;
return $json;
}

Expand Down
2 changes: 1 addition & 1 deletion lib/Models/PayrollAu/PayRuns.php
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ public function jsonSerialize()
if(isset($sanitizedObject->warnings)){
$json['warnings'] = $sanitizedObject->warnings;
}
$json->PayRuns = $sanitizedObject->PayRuns;
$json['PayRuns'] = $sanitizedObject->PayRuns;
return $json;
}

Expand Down
Loading

0 comments on commit b24abce

Please sign in to comment.