From 058c3cfa906b1881025e9ca9797f195c7992c7c4 Mon Sep 17 00:00:00 2001 From: Sebastix Date: Sat, 14 Sep 2024 22:30:03 +0200 Subject: [PATCH] php-cs-fixer fix src --- src/Event/Event.php | 2 +- src/Request/Request.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Event/Event.php b/src/Event/Event.php index 2390111..520c70c 100644 --- a/src/Event/Event.php +++ b/src/Event/Event.php @@ -160,7 +160,7 @@ public function getContent(): string */ public function setTags(array $tags): static { - foreach($tags as $tag) { + foreach ($tags as $tag) { $this->tags[] = $tag; } return $this; diff --git a/src/Request/Request.php b/src/Request/Request.php index a123b39..10323f3 100644 --- a/src/Request/Request.php +++ b/src/Request/Request.php @@ -103,7 +103,7 @@ private function getResponseFromRelay(Relay $relay): array | RelayResponse return $result; } elseif ($response instanceof WebSocket\Message\Text) { $relayResponse = RelayResponse::create(json_decode($response->getContent())); - if($relayResponse->type === 'EOSE') { + if ($relayResponse->type === 'EOSE') { break; }