We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents fe181a2 + 2332658 commit 7f737feCopy full SHA for 7f737fe
Command/CheckMissingCommand.php
@@ -134,8 +134,8 @@ private function countEmptyTranslations(MessageCatalogueInterface $catalogue): i
134
foreach ($catalogue->getDomains() as $domain) {
135
$emptyTranslations = \array_filter(
136
$catalogue->all($domain),
137
- function (string $message): bool {
138
- return '' === $message;
+ function (string $message = null): bool {
+ return null === $message || '' === $message;
139
}
140
);
141
0 commit comments