1
0
Fork 0
mirror of synced 2024-08-20 20:51:40 +12:00

style:run linter

This commit is contained in:
Everly Precia Suresh 2022-11-03 16:10:39 +00:00
parent e869debc76
commit eece18c9f6

View file

@ -106,8 +106,7 @@ class DatabaseV1 extends Worker
->setAttribute('status', 'failed') ->setAttribute('status', 'failed')
->setAttribute('error', $e->getMessage()) ->setAttribute('error', $e->getMessage())
); );
} } catch (\Throwable $th) {
catch(\Throwable $th){
Console::error('Internal Error'); Console::error('Internal Error');
$dbForProject->updateDocument( $dbForProject->updateDocument(
'attributes', 'attributes',
@ -316,7 +315,7 @@ class DatabaseV1 extends Worker
->setAttribute('status', 'failed') ->setAttribute('status', 'failed')
->setAttribute('error', 'Internal Error') ->setAttribute('error', 'Internal Error')
); );
} finally { } finally {
$target = Realtime::fromPayload( $target = Realtime::fromPayload(
// Pass first, most verbose event pattern // Pass first, most verbose event pattern
event: $events[0], event: $events[0],