Skip to content

Commit 2b6530c

Browse files
peter279kmnavarrocarter
authored andcommitted
Add EOF (end of file) for some files
1 parent 8ac319c commit 2b6530c

File tree

14 files changed

+15
-15
lines changed

14 files changed

+15
-15
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
.phpunit.result.cache
22
composer.lock
33
vendor
4-
.php_cs.cache
4+
.php_cs.cache

.php_cs.dist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,4 @@ return PhpCsFixer\Config::create()
2424
PhpCsFixer\Finder::create()
2525
->in(__DIR__.'/src')
2626
)
27-
;
27+
;

examples/arguments.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@
1414
'body' => json_encode(['data' => 'value'])
1515
]);
1616

17-
echo buffer($response->body()); // Emits the response
17+
echo buffer($response->body()); // Emits the response

examples/buffered.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@
77

88
$response = fetch('https://mnavarro.dev');
99

10-
echo buffer($response->body());
10+
echo buffer($response->body());

examples/class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,4 +75,4 @@ public function deleteOrder(string $id): void
7575
{
7676
($this->client)('DELETE', '/orders/'.$id);
7777
}
78-
}
78+
}

examples/composition.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,4 @@
2727
$client = $authenticated('your-api-token');
2828

2929
$ordersArray = $client('GET', '/orders');
30-
$createdOrderArray = $client('POST', '/orders', ['id' => '1234556']);
30+
$createdOrderArray = $client('POST', '/orders', ['id' => '1234556']);

examples/headers.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@
99

1010
$stdHeaders = StandardHeaders::from($response);
1111
$lastModified = $stdHeaders->getLastModified()->diff(new DateTimeImmutable(), true)->h;
12-
echo sprintf('This html content was last modified %s hours ago...', $lastModified) . PHP_EOL;
12+
echo sprintf('This html content was last modified %s hours ago...', $lastModified) . PHP_EOL;

examples/info.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@
1212
echo $response->headers()->has('content-type'); // true
1313
echo $response->headers()->contains('content-type', 'html'); // true
1414
echo $response->headers()->get('content-type'); // text/html;charset=utf-8
15-
echo $response->body()->read(); // Outputs some bytes from the response body
15+
echo $response->body()->read(); // Outputs some bytes from the response body

examples/json.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@
1515

1616
if ($body instanceof JsonDecoder) {
1717
var_dump($body->decode()); // Dumps the json as an array
18-
}
18+
}

examples/simple.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@
88

99
while (($chunk = $response->body()->read()) !== null) {
1010
echo $chunk;
11-
}
11+
}

0 commit comments

Comments
 (0)