Skip to content

Commit b519b0d

Browse files
Olivier DolbeauNyholm
authored andcommitted
Update symfony-storage requirement (#374)
1 parent edf17ea commit b519b0d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Service/StorageService.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ public function syncAndFetchMessage(string $locale, string $domain, string $key)
152152
* local storage and then move on to the remote storages.
153153
* {@inheritdoc}
154154
*/
155-
public function get(string $locale, string $domain, string $key): MessageInterface
155+
public function get(string $locale, string $domain, string $key): ?MessageInterface
156156
{
157157
foreach ([$this->localStorages, $this->remoteStorages] as $storages) {
158158
$value = $this->getFromStorages($storages, $locale, $domain, $key);

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"symfony/finder": "^3.4 || ^4.3 || ^5.0",
1919
"symfony/intl": "^3.4 || ^4.3 || ^5.0",
2020

21-
"php-translation/symfony-storage": "^2.0",
21+
"php-translation/symfony-storage": "^2.1",
2222
"php-translation/extractor": "^2.0",
2323
"nyholm/nsa": "^1.1",
2424
"twig/twig": "^2.11 || ^3.0"

0 commit comments

Comments
 (0)