Merge pull request #439 from guilhermesiani/patch-3

refactor: add string return type
This commit is contained in:
Piotr Grabski-Gradziński
2021-07-18 18:27:21 +02:00
committed by GitHub

View File

@@ -10,7 +10,7 @@ class StringReverseWorker
{
}
public function run(string $text)
public function run(string $text): string
{
return strrev($text);
}