Skip to content

Commit

Permalink
Applied suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
sebprt committed Jan 10, 2024
1 parent 71372f3 commit 4bc180a
Showing 1 changed file with 21 additions and 3 deletions.
24 changes: 21 additions & 3 deletions src/Client/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,13 @@ public function __construct(
/**
* @throws ClientExceptionInterface
* @throws \JsonException
* @throws BadRequestException|ForbiddenException|NotFoundException|RequestEntityTooLargeException|ApiRateExceededException|InternalServerErrorException|MultiStatusResponseException
* @throws BadRequestException
* @throws ForbiddenException
* @throws NotFoundException
* @throws RequestEntityTooLargeException
* @throws ApiRateExceededException
* @throws InternalServerErrorException
* @throws MultiStatusResponseException
*/
public function upsertContacts(array $body): void

Check failure on line 36 in src/Client/Client.php

View workflow job for this annotation

GitHub Actions / phpstan-7

Method Kiboko\Component\Flow\ZohoCRM\Client\Client::upsertContacts() has parameter $body with no value type specified in iterable type array.

Check failure on line 36 in src/Client/Client.php

View workflow job for this annotation

GitHub Actions / phpstan-8

Method Kiboko\Component\Flow\ZohoCRM\Client\Client::upsertContacts() has parameter $body with no value type specified in iterable type array.

Check failure on line 36 in src/Client/Client.php

View workflow job for this annotation

GitHub Actions / phpstan-6

Method Kiboko\Component\Flow\ZohoCRM\Client\Client::upsertContacts() has parameter $body with no value type specified in iterable type array.
{
Expand All @@ -51,7 +57,13 @@ public function upsertContacts(array $body): void
/**
* @throws ClientExceptionInterface
* @throws \JsonException
* @throws BadRequestException|ForbiddenException|NotFoundException|RequestEntityTooLargeException|ApiRateExceededException|InternalServerErrorException|MultiStatusResponseException
* @throws BadRequestException
* @throws ForbiddenException
* @throws NotFoundException
* @throws RequestEntityTooLargeException
* @throws ApiRateExceededException
* @throws InternalServerErrorException
* @throws MultiStatusResponseException
*/
public function upsertProducts(array $body): void

Check failure on line 68 in src/Client/Client.php

View workflow job for this annotation

GitHub Actions / phpstan-7

Method Kiboko\Component\Flow\ZohoCRM\Client\Client::upsertProducts() has parameter $body with no value type specified in iterable type array.

Check failure on line 68 in src/Client/Client.php

View workflow job for this annotation

GitHub Actions / phpstan-8

Method Kiboko\Component\Flow\ZohoCRM\Client\Client::upsertProducts() has parameter $body with no value type specified in iterable type array.

Check failure on line 68 in src/Client/Client.php

View workflow job for this annotation

GitHub Actions / phpstan-6

Method Kiboko\Component\Flow\ZohoCRM\Client\Client::upsertProducts() has parameter $body with no value type specified in iterable type array.
{
Expand Down Expand Up @@ -79,7 +91,13 @@ public function upsertProducts(array $body): void
/**
* @throws ClientExceptionInterface
* @throws \JsonException
* @throws BadRequestException|ForbiddenException|NotFoundException|RequestEntityTooLargeException|ApiRateExceededException|InternalServerErrorException|MultiStatusResponseException
* @throws BadRequestException
* @throws ForbiddenException
* @throws NotFoundException
* @throws RequestEntityTooLargeException
* @throws ApiRateExceededException
* @throws InternalServerErrorException
* @throws MultiStatusResponseException
*/
public function upsertOrders(array $body): void

Check failure on line 102 in src/Client/Client.php

View workflow job for this annotation

GitHub Actions / phpstan-7

Method Kiboko\Component\Flow\ZohoCRM\Client\Client::upsertOrders() has parameter $body with no value type specified in iterable type array.

Check failure on line 102 in src/Client/Client.php

View workflow job for this annotation

GitHub Actions / phpstan-8

Method Kiboko\Component\Flow\ZohoCRM\Client\Client::upsertOrders() has parameter $body with no value type specified in iterable type array.

Check failure on line 102 in src/Client/Client.php

View workflow job for this annotation

GitHub Actions / phpstan-6

Method Kiboko\Component\Flow\ZohoCRM\Client\Client::upsertOrders() has parameter $body with no value type specified in iterable type array.
{
Expand Down

0 comments on commit 4bc180a

Please sign in to comment.