Skip to content

Commit 8c66cf2

Browse files
committed
Update the changelog
1 parent e5bf86c commit 8c66cf2

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
# Changelog
22

3+
## Version [1.0.1](https://github.com/cedx/php-minifier/compare/v1.0.0...v1.0.1)
4+
- Improved compatibility with [PHP](https://www.php.net) 7.
5+
36
## Version 1.0.0
47
- Initial release.

haxelib.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"description": "Minify PHP source code by removing comments and whitespace.",
66
"license": "MIT",
77
"name": "php_minifier",
8-
"releasenote": "Initial release.",
8+
"releasenote": "Improved compatibility with PHP 7.",
99
"tags": ["compress", "gulp", "minify", "nodejs", "php"],
1010
"url": "https://docs.belin.io/php-minifier",
1111
"version": "1.0.1"

www/index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* @param string $mediaType The response media type.
66
* @param int $status The status code of the response.
77
*/
8-
function sendResponse($body, $mediaType = "text/plain", $status = 200) {
8+
function sendResponse(string $body, string $mediaType = "text/plain", int $status = 200): void {
99
http_response_code($status);
1010
header("Content-Length: ".strlen($body));
1111
header("Content-Type: $mediaType");

0 commit comments

Comments
 (0)