Skip to content

Feature/php84 compliance#29

Open
allrude wants to merge 4 commits into
NVision-Commerce-Solutions:mainfrom
Siteation:Feature/php84-compliance
Open

Feature/php84 compliance#29
allrude wants to merge 4 commits into
NVision-Commerce-Solutions:mainfrom
Siteation:Feature/php84-compliance

Conversation

@allrude
Copy link
Copy Markdown
Contributor

@allrude allrude commented May 26, 2026

php84 compliance

allrude and others added 4 commits May 26, 2026 12:35
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
}

public function getCustomerId(): ?string
public function getCustomerId(): int|string|null
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually I think we need to cast return result to one type instead of declaring few return types.

* @throws GuzzleException
*/
private function makeCall($endpointUrl, $postData)
private function makeCall(string $endpointUrl, array $postData): ResponseInterface|array
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here we also need to check how to return only array

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants