Skip to content

Commit ca31a24

Browse files
committed
[CS] [5.x] Replace easy occurrences of ?: with ??
1 parent 3e2b8f8 commit ca31a24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/GatewayApiTransportTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ final class GatewayApiTransportTest extends TransportTestCase
2424
*/
2525
public function createTransport(?HttpClientInterface $client = null): TransportInterface
2626
{
27-
return new GatewayApiTransport('authtoken', 'Symfony', $client ?: $this->createMock(HttpClientInterface::class));
27+
return new GatewayApiTransport('authtoken', 'Symfony', $client ?? $this->createMock(HttpClientInterface::class));
2828
}
2929

3030
public function toStringProvider(): iterable

0 commit comments

Comments
 (0)