From b9c255ba4ca1cb308ecb94f251362f7b65b94829 Mon Sep 17 00:00:00 2001 From: Kevin Ruscoe Date: Fri, 26 Oct 2018 18:02:11 +0100 Subject: [PATCH] Add trans docblock (#1483) --- src/Carbon/Translator.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/Carbon/Translator.php b/src/Carbon/Translator.php index 3cd293aa87..6bc3d369fc 100644 --- a/src/Carbon/Translator.php +++ b/src/Carbon/Translator.php @@ -107,6 +107,16 @@ public function removeDirectory(string $directory) })); } + /** + * Returns the translation. + * + * @param string $id + * @param array $parameters + * @param string $domain + * @param string $locale + * + * @return string + */ public function trans($id, array $parameters = [], $domain = null, $locale = null) { if (null === $domain) {