Skip to content

Commit 08afe22

Browse files
committed
v1.0
1 parent 21ccdb8 commit 08afe22

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](http://keepachangelog.com/)
66
and this project adheres to [Semantic Versioning](http://semver.org/).
77

8-
## [UNRELEASED]
8+
## [1.0.0] - 2018-01-26
99

1010
### Added
1111

@@ -92,7 +92,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
9292

9393
First version
9494

95-
[UNRELEASED]: https://github.com/middlewares/error-handler/compare/v0.9.0...HEAD
95+
[1.0.0]: https://github.com/middlewares/error-handler/compare/v0.9.0...v1.0.0
9696
[0.9.0]: https://github.com/middlewares/error-handler/compare/v0.8.0...v0.9.0
9797
[0.8.0]: https://github.com/middlewares/error-handler/compare/v0.7.0...v0.8.0
9898
[0.7.0]: https://github.com/middlewares/error-handler/compare/v0.6.0...v0.7.0

tests/ErrorHandlerTest.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ function ($request) {
108108
]);
109109
}
110110

111-
public function formatsProvider()
111+
public function formatsProvider(): array
112112
{
113113
return [
114114
['text/plain'],
@@ -125,9 +125,8 @@ public function formatsProvider()
125125

126126
/**
127127
* @dataProvider formatsProvider
128-
* @param mixed $type
129128
*/
130-
public function testFormats($type)
129+
public function testFormats(string $type)
131130
{
132131
$request = Factory::createServerRequest()->withHeader('Accept', $type);
133132

0 commit comments

Comments
 (0)