diff --git a/README.md b/README.md index 6b31698..1061996 100644 --- a/README.md +++ b/README.md @@ -49,11 +49,8 @@ use Setono\TagBag\TagBagInterface; class YourService { - private $tagBag; - - public function __construct(TagBagInterface $tagBag) + public function __construct(private TagBagInterface $tagBag) { - $this->tagBag = $tagBag; } public function method(): void