Skip to content

Commit dc166a8

Browse files
committed
style: fix styling
1 parent 4e02c8d commit dc166a8

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

tests/ClientTest.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
it('implements sendRequest', function () {
2222
Http::fake(['*' => Http::response('foo=baz', 404, ['X-Foo' => 'Baz'])]);
2323

24-
$client = new Client();
24+
$client = new Client;
2525
$response = $client->sendRequest(new PsrRequest('POST', 'https://example.com', ['X-Foo' => 'Bar'], 'foo=bar'));
2626

2727
Http::assertSent(function (Request $request) {
@@ -39,7 +39,7 @@
3939
it('implements send', function () {
4040
Http::fake(['*' => Http::response('foo=baz', 404, ['X-Foo' => 'Baz'])]);
4141

42-
$client = new Client();
42+
$client = new Client;
4343
$response = $client->send(new PsrRequest('POST', 'https://example.com', ['X-Foo' => 'Bar'], 'foo=bar'));
4444

4545
Http::assertSent(function (Request $request) {
@@ -57,7 +57,7 @@
5757
it('implements sendAsync', function () {
5858
Http::fake(['*' => Http::response('foo=baz', 404, ['X-Foo' => 'Baz'])]);
5959

60-
$client = new Client();
60+
$client = new Client;
6161
$response = $client->sendAsync(new PsrRequest('POST', 'https://example.com', ['X-Foo' => 'Bar'], 'foo=bar'))->wait();
6262

6363
Http::assertSent(function (Request $request) {
@@ -75,7 +75,7 @@
7575
it('implements request', function () {
7676
Http::fake(['*' => Http::response('foo=baz', 404, ['X-Foo' => 'Baz'])]);
7777

78-
$client = new Client();
78+
$client = new Client;
7979
$response = $client->request('POST', 'https://example.com', ['headers' => ['X-Foo' => 'Bar'], 'body' => 'foo=bar']);
8080

8181
Http::assertSent(function (Request $request) {
@@ -93,7 +93,7 @@
9393
it('implements requestAsync', function () {
9494
Http::fake(['*' => Http::response('foo=baz', 404, ['X-Foo' => 'Baz'])]);
9595

96-
$client = new Client();
96+
$client = new Client;
9797
$response = $client->requestAsync('POST', 'https://example.com', ['headers' => ['X-Foo' => 'Bar'], 'body' => 'foo=bar'])->wait();
9898

9999
Http::assertSent(function (Request $request) {

0 commit comments

Comments
 (0)