Skip to content

Commit 8fe728c

Browse files
Olivier DolbeauNyholm
authored andcommitted
Correct interface (#26)
1 parent 8d350c8 commit 8fe728c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Storage.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ interface Storage
2424
/**
2525
* Get a translation. If no translation is found, null MUST be returned.
2626
*/
27-
public function get(string $locale, string $domain, string $key): MessageInterface;
27+
public function get(string $locale, string $domain, string $key): ?MessageInterface;
2828

2929
/**
3030
* Create a new translation or asset. If a translation already exist this function

0 commit comments

Comments
 (0)