mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-07-30 19:50:12 +02:00
Removed unused constructor & Datetime
This commit is contained in:
@@ -4,14 +4,8 @@ declare(strict_types=1);
|
||||
|
||||
namespace DesignPatterns\Creational\Pool;
|
||||
|
||||
use DateTime;
|
||||
|
||||
class StringReverseWorker
|
||||
{
|
||||
public function __construct()
|
||||
{
|
||||
}
|
||||
|
||||
public function run(string $text): string
|
||||
{
|
||||
return strrev($text);
|
||||
|
Reference in New Issue
Block a user