Skip to content

Commit 6f97491

Browse files
committed
fix phpcs
1 parent 3c1fe66 commit 6f97491

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/Unit/Config/ApiContextTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ public function provideGetApiUrlCases(): iterable
9494

9595
yield [$apiContext, 'http://localhost:80/test/test/api/'];
9696

97-
$apiContext = (new ApiContext(self::HOST, self::TOKEN));
97+
$apiContext = new ApiContext(self::HOST, self::TOKEN);
9898

9999
yield [$apiContext, 'https://localhost:443/api/'];
100100

@@ -120,7 +120,7 @@ public function provideGetApiPathCases(): iterable
120120

121121
yield [$apiContext, '/test/test/api/'];
122122

123-
$apiContext = (new ApiContext(self::HOST, self::TOKEN));
123+
$apiContext = new ApiContext(self::HOST, self::TOKEN);
124124

125125
yield [$apiContext, '/api/'];
126126
}

0 commit comments

Comments
 (0)