Skip to content

Commit

Permalink
Merge pull request #110 from Martin1982/master
Browse files Browse the repository at this point in the history
  • Loading branch information
matthijsch authored May 23, 2023
2 parents 8310ffa + 43d9ead commit c4e1401
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Tests/Cookie/CookieCheckerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public function setUp(): void
*
* Test CookieChecker:isCookieConsentSavedByUser
*/
public function testIsCookieConsentSavedByUser(array $cookies = [], bool $expected): void
public function testIsCookieConsentSavedByUser(array $cookies = [], bool $expected = false): void
{
$this->request->cookies = new ParameterBag($cookies);

Expand All @@ -65,7 +65,7 @@ public function isCookieConsentSavedByUserDataProvider(): array
*
* Test CookieChecker:isCategoryAllowedByUser
*/
public function testIsCategoryAllowedByUser(array $cookies = [], string $category, bool $expected): void
public function testIsCategoryAllowedByUser(array $cookies = [], string $category = '', bool $expected = false): void
{
$this->request->cookies = new ParameterBag($cookies);

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"license": "MIT",
"require": {
"php": "^7.2 || ^8.0.2",
"doctrine/annotations": "^1.6",
"doctrine/annotations": "^1.6|^2.0",
"doctrine/doctrine-bundle": "^1.10 || ^2.0",
"doctrine/orm": "^2.5",
"symfony/asset": "^3.4 || ^4.2 || ^5.0 || ^6.0",
Expand Down

0 comments on commit c4e1401

Please sign in to comment.