Skip to content

Commit 13da628

Browse files
authored
House Keeping (#188)
## Description Various updates and changes to codebase ## Checklist - [ ] Updated CHANGELOG files - [ ] Updated Documentation - [ ] Unit Tests Created - [ ] php-cs-fixer
1 parent c81c9a3 commit 13da628

3 files changed

Lines changed: 3 additions & 4 deletions

File tree

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ purge: # Purge vendor and lock files
4343
rm -rf src/SonsOfPHP/Bundle/*/vendor/ src/SonsOfPHP/Bundle/*/composer.lock
4444
rm -rf src/SonsOfPHP/Component/*/vendor/ src/SonsOfPHP/Component/*/composer.lock
4545
rm -rf src/SonsOfPHP/Contract/*/vendor/ src/SonsOfPHP/Contract/*/composer.lock
46+
rm -rf src/tools/*/vendor/ src/tools/*/composer.lock
4647

4748
test: phpunit ## Run PHPUnit Tests
4849

composer.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,11 +80,9 @@
8080
"ext-intl": "*",
8181
"doctrine/collections": "^2",
8282
"doctrine/orm": "^2",
83-
"sonsofphp/cookie-contract": "0.3.x-dev",
8483
"psr/container": "^1.0 || ^2.0",
8584
"psr/http-server-handler": "^1.0",
86-
"psr/http-server-middleware": "^1.0",
87-
"sonsofphp/http-handler-contract": "0.3.x-dev"
85+
"psr/http-server-middleware": "^1.0"
8886
},
8987
"replace": {
9088
"sonsofphp/bard": "self.version",

src/SonsOfPHP/Component/Cookie/CookieManager.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public function get(string $name): CookieInterface
2929
/**
3030
* {@inheritdoc}
3131
*/
32-
public function has(string $name): CookieInterface
32+
public function has(string $name): bool
3333
{
3434
return array_key_exists($name, $_COOKIE);
3535
}

0 commit comments

Comments
 (0)