Skip to content

Commit dbe0ed4

Browse files
committed
removed comments
1 parent 1b352c7 commit dbe0ed4

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

src/Symfony/Component/Translation/Translator.php

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -132,11 +132,7 @@ public function addResource($format, $resource, $locale, $domain = null)
132132
}
133133
}
134134

135-
/**
136-
* @param string $domain
137-
* @param MessageFormatterInterface $formatter
138-
*/
139-
public function addFormatter(string $domain, MessageFormatterInterface $formatter)
135+
public function addFormatter(string $domain, MessageFormatterInterface $formatter): void
140136
{
141137
$this->formatters[$domain] = $formatter;
142138
}
@@ -445,12 +441,7 @@ private function getConfigCacheFactory(): ConfigCacheFactoryInterface
445441
return $this->configCacheFactory;
446442
}
447443

448-
/**
449-
* @param string $domain
450-
*
451-
* @return MessageFormatterInterface
452-
*/
453-
private function getFormatter(string $domain)
444+
private function getFormatter(string $domain): MessageFormatterInterface
454445
{
455446
return $this->formatters[$domain] ?? $this->formatters['_default'];
456447
}

0 commit comments

Comments
 (0)