aboutsummaryrefslogtreecommitdiff
path: root/src/MasterClient.php
diff options
context:
space:
mode:
authorEvgeny Zinoviev <me@ch1p.io>2021-03-03 16:12:21 +0300
committerEvgeny Zinoviev <me@ch1p.io>2021-03-03 16:12:21 +0300
commitcae7fd35b5847925e8691ca7927a8dd7eb2d07a9 (patch)
treeb52dba539afeeb7ae7fd7d02fa364f6c786ce9f6 /src/MasterClient.php
parent724833bf1a9d0c8cc3a4fcfbbe50b7083120c8dd (diff)
use custom exception class
Diffstat (limited to 'src/MasterClient.php')
-rw-r--r--src/MasterClient.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/MasterClient.php b/src/MasterClient.php
index 1cfb58e..d85e454 100644
--- a/src/MasterClient.php
+++ b/src/MasterClient.php
@@ -12,7 +12,7 @@ class MasterClient extends Client {
/**
* @param array $targets
* @return ResponseMessage
- * @throws \Exception
+ * @throws Exception
*/
public function poke(array $targets): ResponseMessage
{
@@ -24,7 +24,7 @@ class MasterClient extends Client {
/**
* @param bool $poll_workers
* @return ResponseMessage
- * @throws \Exception
+ * @throws Exception
*/
public function status(bool $poll_workers = false): ResponseMessage
{
@@ -36,7 +36,7 @@ class MasterClient extends Client {
/**
* @param array[] $jobs
* @return ResponseMessage
- * @throws \Exception
+ * @throws Exception
*/
public function runManual(array $jobs): ResponseMessage
{