diff options
author | Evgeny Zinoviev <me@ch1p.io> | 2021-03-03 16:12:21 +0300 |
---|---|---|
committer | Evgeny Zinoviev <me@ch1p.io> | 2021-03-03 16:12:21 +0300 |
commit | cae7fd35b5847925e8691ca7927a8dd7eb2d07a9 (patch) | |
tree | b52dba539afeeb7ae7fd7d02fa364f6c786ce9f6 /src/MasterClient.php | |
parent | 724833bf1a9d0c8cc3a4fcfbbe50b7083120c8dd (diff) |
use custom exception class
Diffstat (limited to 'src/MasterClient.php')
-rw-r--r-- | src/MasterClient.php | 6 |
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 { |