mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-08-09 00:16:32 +02:00
PHP8
This commit is contained in:
@@ -6,11 +6,8 @@ use DateTime;
|
||||
|
||||
class StringReverseWorker
|
||||
{
|
||||
private DateTime $createdAt;
|
||||
|
||||
public function __construct()
|
||||
{
|
||||
$this->createdAt = new DateTime();
|
||||
}
|
||||
|
||||
public function run(string $text)
|
||||
|
Reference in New Issue
Block a user