mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-08-06 06:57:25 +02:00
update deps & install rector
This commit is contained in:
@@ -2,16 +2,15 @@
|
||||
|
||||
namespace DesignPatterns\Creational\Pool;
|
||||
|
||||
use DateTime;
|
||||
|
||||
class StringReverseWorker
|
||||
{
|
||||
/**
|
||||
* @var \DateTime
|
||||
*/
|
||||
private $createdAt;
|
||||
private DateTime $createdAt;
|
||||
|
||||
public function __construct()
|
||||
{
|
||||
$this->createdAt = new \DateTime();
|
||||
$this->createdAt = new DateTime();
|
||||
}
|
||||
|
||||
public function run(string $text)
|
||||
|
Reference in New Issue
Block a user