From 5ab5e33bc0fb5e7dcd5c347e457701af2251ac5b Mon Sep 17 00:00:00 2001 From: oscarotero Date: Sat, 27 Jan 2018 12:51:30 +0100 Subject: [PATCH] v1.0 --- CHANGELOG.md | 4 ++-- composer.json | 6 +----- src/FastRoute.php | 5 +---- 3 files changed, 4 insertions(+), 11 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3e998ed..736d35c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,7 +5,7 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/). -## [UNRELEASED] +## [1.0.0] - 2018-01-27 ### Added @@ -90,7 +90,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/). First version -[UNRELEASED]: https://github.com/middlewares/fast-route/compare/v0.9.0...HEAD +[1.0.0]: https://github.com/middlewares/fast-route/compare/v0.9.0...v1.0.0 [0.9.0]: https://github.com/middlewares/fast-route/compare/v0.8.0...v0.9.0 [0.8.0]: https://github.com/middlewares/fast-route/compare/v0.7.0...v0.8.0 [0.7.0]: https://github.com/middlewares/fast-route/compare/v0.6.0...v0.7.0 diff --git a/composer.json b/composer.json index 86506f5..5a1b7dc 100644 --- a/composer.json +++ b/composer.json @@ -27,11 +27,7 @@ "phpunit/phpunit": "^6.0", "zendframework/zend-diactoros": "^1.3", "friendsofphp/php-cs-fixer": "^2.0", - "squizlabs/php_codesniffer": "^3.0", - "psr/container": "^1.0" - }, - "suggest": { - "container-interop/container-interop": "Can be used to automatically resolve route actions" + "squizlabs/php_codesniffer": "^3.0" }, "autoload": { "psr-4": { diff --git a/src/FastRoute.php b/src/FastRoute.php index 41cc029..6f7a93f 100644 --- a/src/FastRoute.php +++ b/src/FastRoute.php @@ -67,10 +67,7 @@ public function process(ServerRequestInterface $request, RequestHandlerInterface /** * Set the handler reference on the request. * - * @param ServerRequestInterface $request - * @param callable|string|array $handler - * - * @return ServerRequestInterface + * @param mixed $handler */ protected function setHandler(ServerRequestInterface $request, $handler): ServerRequestInterface {