From 4e2ae72169d0ef31a5baf678a37e8419e4d86b5f Mon Sep 17 00:00:00 2001 From: oliverbj Date: Tue, 20 Jun 2023 11:40:56 +0000 Subject: [PATCH] Fix styling --- src/Cord.php | 6 ++---- src/Requests/NativeOrganizationRetrieval.php | 4 ++-- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/src/Cord.php b/src/Cord.php index 8421444..a9cce11 100644 --- a/src/Cord.php +++ b/src/Cord.php @@ -144,7 +144,7 @@ public function criteriaGroup(array $criteria, string $type = 'Partial'): self 'CriteriaGroup' => [ '_attributes' => ['Type' => $type], 'Criteria' => [], - ] + ], ]; foreach ($criteria as $item) { @@ -153,7 +153,7 @@ public function criteriaGroup(array $criteria, string $type = 'Partial'): self 'Entity' => $item['Entity'], 'FieldName' => $item['FieldName'], ], - '_value' => $item['Value'] + '_value' => $item['Value'], ]; } @@ -162,7 +162,6 @@ public function criteriaGroup(array $criteria, string $type = 'Partial'): self return $this; } - /** * Determine if the request is for a brokerage job. */ @@ -260,7 +259,6 @@ public function run() RequestType::NativeOrganizationRetrieval => new NativeOrganizationRetrieval($this) }; - $this->xml = $requestType->xml(); return $this->fetch(); diff --git a/src/Requests/NativeOrganizationRetrieval.php b/src/Requests/NativeOrganizationRetrieval.php index fa1c0ea..38f5478 100644 --- a/src/Requests/NativeOrganizationRetrieval.php +++ b/src/Requests/NativeOrganizationRetrieval.php @@ -13,8 +13,8 @@ private function defineSchema(array $criteriaGroups): array { $schema = [ 'Body' => [ - 'Organization' => [] - ] + 'Organization' => [], + ], ]; array_push($schema['Body']['Organization'], $criteriaGroups[0]);