Skip to content

Commit 325695c

Browse files
committed
NTR - fix cs fixer
1 parent e0fcb14 commit 325695c

Some content is hidden

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

47 files changed

+132
-131
lines changed

examples/contact/create.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@
1111

1212
$customersService = new FastBillSdk\Contact\ContactService(
1313
$fastBillClient,
14-
new \FastBillSdk\Common\XmlService(),
15-
new \FastBillSdk\Contact\ContactValidator()
14+
new FastBillSdk\Common\XmlService(),
15+
new FastBillSdk\Contact\ContactValidator()
1616
);
17-
$contactEntity = new \FastBillSdk\Contact\ContactEntity();
17+
$contactEntity = new FastBillSdk\Contact\ContactEntity();
1818
$contactEntity->customerId = 123123123;
1919
$contactEntity->firstName = 'Max';
2020
$contactEntity->lastName = 'Mustermann';

examples/contact/delete.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@
1111

1212
$customersService = new FastBillSdk\Contact\ContactService(
1313
$fastBillClient,
14-
new \FastBillSdk\Common\XmlService(),
15-
new \FastBillSdk\Contact\ContactValidator()
14+
new FastBillSdk\Common\XmlService(),
15+
new FastBillSdk\Contact\ContactValidator()
1616
);
17-
$contactEntity = new \FastBillSdk\Contact\ContactEntity();
17+
$contactEntity = new FastBillSdk\Contact\ContactEntity();
1818
$contactEntity->contactId = 112233;
1919
$result = $customersService->deleteContact($contactEntity);
2020

examples/contact/get.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@
1111

1212
$customersService = new FastBillSdk\Contact\ContactService(
1313
$fastBillClient,
14-
new \FastBillSdk\Common\XmlService(),
15-
new \FastBillSdk\Contact\ContactValidator()
14+
new FastBillSdk\Common\XmlService(),
15+
new FastBillSdk\Contact\ContactValidator()
1616
);
17-
$customersSearchStruct = new \FastBillSdk\Contact\ContactSearchStruct();
17+
$customersSearchStruct = new FastBillSdk\Contact\ContactSearchStruct();
1818
$customersSearchStruct->setCustomerIdFilter(123123123);
1919
$result = $customersService->getContact($customersSearchStruct);
2020

examples/contact/update.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@
1111

1212
$customersService = new FastBillSdk\Contact\ContactService(
1313
$fastBillClient,
14-
new \FastBillSdk\Common\XmlService(),
15-
new \FastBillSdk\Contact\ContactValidator()
14+
new FastBillSdk\Common\XmlService(),
15+
new FastBillSdk\Contact\ContactValidator()
1616
);
17-
$contactEntity = new \FastBillSdk\Contact\ContactEntity();
17+
$contactEntity = new FastBillSdk\Contact\ContactEntity();
1818
$contactEntity->contactId = 112233;
1919
$contactEntity->firstName = 'Max';
2020
$contactEntity->lastName = 'Musterfrau';

examples/customer/create.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@
1111

1212
$customersService = new FastBillSdk\Customer\CustomerService(
1313
$fastBillClient,
14-
new \FastBillSdk\Common\XmlService(),
15-
new \FastBillSdk\Customer\CustomerValidator()
14+
new FastBillSdk\Common\XmlService(),
15+
new FastBillSdk\Customer\CustomerValidator()
1616
);
1717

18-
$customersEntity = new \FastBillSdk\Customer\CustomerEntity();
19-
$customersEntity->customerType = \FastBillSdk\Customer\CustomerEntity::CUSTOMER_TYPE_CONSUMER;
18+
$customersEntity = new FastBillSdk\Customer\CustomerEntity();
19+
$customersEntity->customerType = FastBillSdk\Customer\CustomerEntity::CUSTOMER_TYPE_CONSUMER;
2020
$customersEntity->firstName = 'FirstName';
2121
$customersEntity->lastName = 'LastName';
2222
$result = $customersService->createCustomer($customersEntity);

examples/customer/delete.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@
1111

1212
$customersService = new FastBillSdk\Customer\CustomerService(
1313
$fastBillClient,
14-
new \FastBillSdk\Common\XmlService(),
15-
new \FastBillSdk\Customer\CustomerValidator()
14+
new FastBillSdk\Common\XmlService(),
15+
new FastBillSdk\Customer\CustomerValidator()
1616
);
1717

18-
$customersEntity = new \FastBillSdk\Customer\CustomerEntity();
18+
$customersEntity = new FastBillSdk\Customer\CustomerEntity();
1919
$customersEntity->customerId = 1111;
2020
$result = $customersService->deleteCustomer($customersEntity);
2121

examples/customer/get.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@
1111

1212
$customersService = new FastBillSdk\Customer\CustomerService(
1313
$fastBillClient,
14-
new \FastBillSdk\Common\XmlService(),
15-
new \FastBillSdk\Customer\CustomerValidator()
14+
new FastBillSdk\Common\XmlService(),
15+
new FastBillSdk\Customer\CustomerValidator()
1616
);
17-
$customersSearchStruct = new \FastBillSdk\Customer\CustomerSearchStruct();
17+
$customersSearchStruct = new FastBillSdk\Customer\CustomerSearchStruct();
1818
$customersSearchStruct->setCustomerIdFilter(123123123);
1919
$result = $customersService->getCustomer($customersSearchStruct);
2020

examples/customer/update.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@
1111

1212
$customersService = new FastBillSdk\Customer\CustomerService(
1313
$fastBillClient,
14-
new \FastBillSdk\Common\XmlService(),
15-
new \FastBillSdk\Customer\CustomerValidator()
14+
new FastBillSdk\Common\XmlService(),
15+
new FastBillSdk\Customer\CustomerValidator()
1616
);
1717

18-
$customersEntity = new \FastBillSdk\Customer\CustomerEntity();
19-
$customersEntity->customerType = \FastBillSdk\Customer\CustomerEntity::CUSTOMER_TYPE_CONSUMER;
18+
$customersEntity = new FastBillSdk\Customer\CustomerEntity();
19+
$customersEntity->customerType = FastBillSdk\Customer\CustomerEntity::CUSTOMER_TYPE_CONSUMER;
2020
$customersEntity->customerId = 1111;
2121
$customersEntity->firstName = 'FirstName v2';
2222
$customersEntity->lastName = 'LastName v2';

examples/estimate/create.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@
1111

1212
$estimateService = new FastBillSdk\Estimate\EstimateService(
1313
$fastBillClient,
14-
new \FastBillSdk\Common\XmlService(),
15-
new \FastBillSdk\Estimate\EstimateValidator(
16-
new \FastBillSdk\Estimate\EstimateItemValidator()
14+
new FastBillSdk\Common\XmlService(),
15+
new FastBillSdk\Estimate\EstimateValidator(
16+
new FastBillSdk\Estimate\EstimateItemValidator()
1717
)
1818
);
19-
$estimateEntity = new \FastBillSdk\Estimate\EstimateEntity();
19+
$estimateEntity = new FastBillSdk\Estimate\EstimateEntity();
2020
$estimateEntity->customerId = 123123123;
21-
$estimateItemEntity = new \FastBillSdk\Estimate\EstimateItemEntity();
21+
$estimateItemEntity = new FastBillSdk\Estimate\EstimateItemEntity();
2222
$estimateItemEntity->description = 'FastBill SDK';
2323
$estimateItemEntity->unitPrice = '1337';
2424
$estimateItemEntity->vatPercent = '19';

examples/estimate/createinvoice.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@
1111

1212
$estimateService = new FastBillSdk\Estimate\EstimateService(
1313
$fastBillClient,
14-
new \FastBillSdk\Common\XmlService(),
15-
new \FastBillSdk\Estimate\EstimateValidator(
16-
new \FastBillSdk\Estimate\EstimateItemValidator()
14+
new FastBillSdk\Common\XmlService(),
15+
new FastBillSdk\Estimate\EstimateValidator(
16+
new FastBillSdk\Estimate\EstimateItemValidator()
1717
)
1818
);
1919

20-
$estimateEntity = new \FastBillSdk\Estimate\EstimateEntity();
20+
$estimateEntity = new FastBillSdk\Estimate\EstimateEntity();
2121
$estimateEntity->estimateId = 16343450;
2222
$result = $estimateService->createInvoiceFromEstimate($estimateEntity);
2323

0 commit comments

Comments
 (0)