Skip to content

Commit 8215523

Browse files
Fix the demo
1 parent 6529c0e commit 8215523

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
"symfony/security-csrf": "~5.0 || ~6.0",
3939
"phpunit/phpunit": "^9.5",
4040
"symplify/easy-coding-standard": "^9.4",
41-
"symplify/coding-standard": "^9.4"
41+
"symplify/coding-standard": "^9.4",
42+
"symfony/intl": "^6.1"
4243
}
4344
}

test/Form/Data/Address.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ class Address
99
/**
1010
* @param $street
1111
*/
12-
public function __construct($street)
12+
public function __construct(?string $street = null)
1313
{
1414
$this->street = $street;
1515
}

0 commit comments

Comments
 (0)