diff --git a/Makefile b/Makefile index e4ccb23e..845b2d15 100644 --- a/Makefile +++ b/Makefile @@ -43,6 +43,7 @@ purge: # Purge vendor and lock files rm -rf src/SonsOfPHP/Bundle/*/vendor/ src/SonsOfPHP/Bundle/*/composer.lock rm -rf src/SonsOfPHP/Component/*/vendor/ src/SonsOfPHP/Component/*/composer.lock rm -rf src/SonsOfPHP/Contract/*/vendor/ src/SonsOfPHP/Contract/*/composer.lock + rm -rf src/tools/*/vendor/ src/tools/*/composer.lock test: phpunit ## Run PHPUnit Tests diff --git a/composer.json b/composer.json index 7b41fd73..63f6baba 100644 --- a/composer.json +++ b/composer.json @@ -80,11 +80,9 @@ "ext-intl": "*", "doctrine/collections": "^2", "doctrine/orm": "^2", - "sonsofphp/cookie-contract": "0.3.x-dev", "psr/container": "^1.0 || ^2.0", "psr/http-server-handler": "^1.0", - "psr/http-server-middleware": "^1.0", - "sonsofphp/http-handler-contract": "0.3.x-dev" + "psr/http-server-middleware": "^1.0" }, "replace": { "sonsofphp/bard": "self.version", diff --git a/src/SonsOfPHP/Component/Cookie/CookieManager.php b/src/SonsOfPHP/Component/Cookie/CookieManager.php index 1357bf85..8b6b4ff1 100644 --- a/src/SonsOfPHP/Component/Cookie/CookieManager.php +++ b/src/SonsOfPHP/Component/Cookie/CookieManager.php @@ -29,7 +29,7 @@ public function get(string $name): CookieInterface /** * {@inheritdoc} */ - public function has(string $name): CookieInterface + public function has(string $name): bool { return array_key_exists($name, $_COOKIE); }