KnpLabs / KnpMenu

Menu Library for PHP

Home Page:https://knplabs.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Matcher::addVoter() method undefined

magdicom opened this issue · comments

following the documentation here

it gives an error addVoter does not exist.

You're right, the voter should be added to the constructor.
Can you propose a PR?

Sorry for the misunderstanding: the PR should change the documentation, not the code