Skip to content

Commit

Permalink
Fix CS
Browse files Browse the repository at this point in the history
  • Loading branch information
roxblnfk committed Dec 17, 2023
1 parent c6011e0 commit 1452fd6
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/Sender/Frontend/Service.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public function version(): Version
#[
AssertSuccess(Method::Delete, 'api/event/0145a0e0-0b1a-4e4a-9b1a', ['uuid' => '0145a0e0-0b1a-4e4a-9b1a']),
AssertFail(Method::Delete, 'api/event/foo-bar-baz'),
AssertFail(Method::Delete, 'api/event/')
AssertFail(Method::Delete, 'api/event/'),
]
public function eventDelete(string $uuid): Success
{
Expand All @@ -49,7 +49,7 @@ public function eventDelete(string $uuid): Success
#[
AssertSuccess(Method::Get, 'api/event/0145a0e0-0b1a-4e4a-9b1a', ['uuid' => '0145a0e0-0b1a-4e4a-9b1a']),
AssertFail(Method::Get, 'api/event/foo-bar-baz'),
AssertFail(Method::Get, 'api/event/')
AssertFail(Method::Get, 'api/event/'),
]
public function eventShow(string $uuid): Event|Success
{
Expand All @@ -61,7 +61,8 @@ public function eventShow(string $uuid): Event|Success
#[StaticRoute(Method::Delete, 'api/events')]
#[
AssertFail(Method::Delete, '/api/events'),
AssertFail(Method::Delete, 'api/events/')
AssertFail(Method::Delete, 'api/events/'),
AssertFail(Method::Delete, 'api/event'),
]
public function eventsDelete(array $uuids = []): Success
{
Expand All @@ -86,8 +87,9 @@ public function eventsDelete(array $uuids = []): Success

#[StaticRoute(Method::Get, 'api/events')]
#[
AssertFail(Method::Get, 'api/event'),
AssertFail(Method::Post, 'api/events'),
AssertFail(Method::Get, '/api/events')
AssertFail(Method::Get, '/api/events'),
]
public function eventsList(): EventCollection
{
Expand Down

0 comments on commit 1452fd6

Please sign in to comment.