mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-08-07 07:26:32 +02:00
update deps & install rector
This commit is contained in:
@@ -4,10 +4,7 @@ namespace DesignPatterns\Structural\Composite;
|
||||
|
||||
class TextElement implements Renderable
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
private $text;
|
||||
private string $text;
|
||||
|
||||
public function __construct(string $text)
|
||||
{
|
||||
|
Reference in New Issue
Block a user