refactor: add string return type

This commit is contained in:
Guilherme Siani
2021-07-16 21:00:33 -03:00
committed by GitHub
parent b521db7c06
commit 1aceddc14a

View File

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