Skip to content
This repository has been archived by the owner on Feb 5, 2019. It is now read-only.

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Joan Fabrégat committed Mar 4, 2018
1 parent e898b93 commit d2c140a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "codeinchq/lib-psr7responses",
"version": "1.1.3",
"version": "1.1.4",
"description": "A collection of PSR-7 responses",
"homepage": "https://github.com/codeinchq/lib-psr7responses",
"type": "library",
Expand Down
2 changes: 1 addition & 1 deletion src/NotFoundResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,6 @@ class NotFoundResponse extends HtmlResponse {
public function __construct(string $html = null, ?string $charset = null, array $headers = [],
$body = null, string $version = '1.1', ?string $reason = null)
{
parent::__construct($html, $charset, 404, $headers, $version, $reason);
parent::__construct($html ?? '', $charset, 404, $headers, $version, $reason);
}
}

0 comments on commit d2c140a

Please sign in to comment.