Fix StyleCI issues

This commit is contained in:
Matthew Penner 2020-04-04 16:24:58 -06:00
parent 454ce6ce45
commit 142bf16aae
9 changed files with 27 additions and 34 deletions

View file

@ -17,7 +17,8 @@ class DaemonTransferRepository extends DaemonRepository
*
* @throws DaemonConnectionException
*/
public function notify(Server $server, array $data, Node $node, string $token): void {
public function notify(Server $server, array $data, Node $node, string $token): void
{
try {
$this->getHttpClient()->post('/api/transfer', [
'json' => [
@ -27,7 +28,7 @@ class DaemonTransferRepository extends DaemonRepository
'server' => $data,
],
]);
} catch(TransferException $exception) {
} catch (TransferException $exception) {
throw new DaemonConnectionException($exception);
}
}