Fix StyleCI issues
This commit is contained in:
parent
454ce6ce45
commit
142bf16aae
9 changed files with 27 additions and 34 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Reference in a new issue