Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 09c3ff6

Browse filesBrowse files
committed
removed comments
1 parent 844afa2 commit 09c3ff6
Copy full SHA for 09c3ff6

File tree

1 file changed

+2
-11
lines changed
Filter options

1 file changed

+2
-11
lines changed

‎src/Symfony/Component/Translation/Translator.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Translation/Translator.php
+2-11Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.