Skip to content

Commit 6b16770

Browse files
[Contracts] add return types and bump to v3
1 parent 8491090 commit 6b16770

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Slugger/AsciiSlugger.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ public function setLocale(string $locale)
8383
/**
8484
* {@inheritdoc}
8585
*/
86-
public function getLocale()
86+
public function getLocale(): string
8787
{
8888
return $this->defaultLocale;
8989
}

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"require-dev": {
2626
"symfony/error-handler": "^5.4|^6.0",
2727
"symfony/http-client": "^5.4|^6.0",
28-
"symfony/translation-contracts": "^2",
28+
"symfony/translation-contracts": "^2.0|^3.0",
2929
"symfony/var-exporter": "^5.4|^6.0"
3030
},
3131
"conflict": {

0 commit comments

Comments
 (0)