Skip to content

Commit

Permalink
php-cs-fixer fix src
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastix committed Sep 14, 2024
1 parent 093078f commit 058c3cf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Event/Event.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion src/Request/Request.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 058c3cf

Please sign in to comment.