Skip to content

Commit 36fc10e

Browse files
authored
Fix plaintext
1 parent 02bd443 commit 36fc10e

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

frameworks/PHP/flight/index.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,8 @@
1313
// Plaintext test
1414
Flight::route('/plaintext', function() {
1515
Flight::response()
16-
->header('Content-Type', 'text/plain')
17-
->write('Hello, World!')
18-
->send();
16+
->header('Content-Type', 'text/plain');
17+
echo 'Hello, World!';
1918
});
2019

2120
// DB test

0 commit comments

Comments
 (0)