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