Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverbj authored and github-actions[bot] committed Jun 20, 2023
1 parent 0d8b8f8 commit 4e2ae72
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
6 changes: 2 additions & 4 deletions src/Cord.php
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ public function criteriaGroup(array $criteria, string $type = 'Partial'): self
'CriteriaGroup' => [
'_attributes' => ['Type' => $type],
'Criteria' => [],
]
],
];

foreach ($criteria as $item) {
Expand All @@ -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'],
];
}

Expand All @@ -162,7 +162,6 @@ public function criteriaGroup(array $criteria, string $type = 'Partial'): self
return $this;
}


/**
* Determine if the request is for a brokerage job.
*/
Expand Down Expand Up @@ -260,7 +259,6 @@ public function run()
RequestType::NativeOrganizationRetrieval => new NativeOrganizationRetrieval($this)
};


$this->xml = $requestType->xml();

return $this->fetch();
Expand Down
4 changes: 2 additions & 2 deletions src/Requests/NativeOrganizationRetrieval.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ private function defineSchema(array $criteriaGroups): array
{
$schema = [
'Body' => [
'Organization' => []
]
'Organization' => [],
],
];

array_push($schema['Body']['Organization'], $criteriaGroups[0]);
Expand Down

0 comments on commit 4e2ae72

Please sign in to comment.