mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-08-20 13:31:45 +02:00
update deps & install rector
This commit is contained in:
@@ -4,10 +4,7 @@ namespace DesignPatterns\Structural\Flyweight;
|
||||
|
||||
class Word implements Text
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
private $name;
|
||||
private string $name;
|
||||
|
||||
public function __construct(string $name)
|
||||
{
|
||||
|
Reference in New Issue
Block a user