diff --git a/Classes/Service/Rest.php b/Classes/Service/Rest.php index 9ef34f5..704a947 100644 --- a/Classes/Service/Rest.php +++ b/Classes/Service/Rest.php @@ -12,7 +12,7 @@ use Brotkrueml\JobRouterClient\Client\RestClient; use Brotkrueml\JobRouterClient\Configuration\ClientConfiguration; -use Brotkrueml\JobRouterClient\Exception\RestException; +use Brotkrueml\JobRouterClient\Exception\RestClientException; use Brotkrueml\JobRouterConnector\Domain\Model\Connection; class Rest @@ -45,8 +45,8 @@ public function getRestClient(Connection $connection, ?int $lifetime = null): Re * Check the connectivity for the given connection * * @param Connection $connection The connection model - * @return bool - * @throws RestException + * @return bool true, if connection can be established successfully + * @throws RestClientException */ public function checkConnection(Connection $connection): bool { diff --git a/composer.json b/composer.json index 830855e..66b4ff7 100644 --- a/composer.json +++ b/composer.json @@ -13,7 +13,7 @@ "php": "^7.2", "ext-json": "*", "ext-sodium": "*", - "brotkrueml/jobrouter-client": "^0.3", + "brotkrueml/jobrouter-client": "^0.4", "typo3/cms-backend": "^9.5", "typo3/cms-core": "^9.5", "typo3/cms-extbase": "^9.5",