Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down