@@ -146,7 +146,6 @@ public function getMenuFactory(): MenuFactoryInterface
146146 * @see StringTemplateRenderer::__construct()
147147 * @see create()
148148 * @see render()
149- *
150149 * @param View $View The View this helper is being attached to.
151150 * @param array $config An array of options, see the "Configuration options" section in the
152151 * method description.
@@ -181,9 +180,7 @@ public function __construct(View $View, array $config = [])
181180 * passed as options to the renderer.
182181 *
183182 * @see __construct()
184- *
185183 * @throws \InvalidArgumentException In case the `$name` argument is not a string, or is empty.
186- *
187184 * @param string $name The name of the menu. The name serves as an identifier for retrieving
188185 * and rendering specific menus.
189186 * @param array $options An array of options, see the "Options" section in the method
@@ -210,7 +207,6 @@ public function create(string $name, array $options = []): ItemInterface
210207 * This method supports all the options that the constructor supports.
211208 *
212209 * @see __construct()
213- *
214210 * @throws \RuntimeException In case no menu object is passed, and no menu has been created via
215211 * the `create()` method yet.
216212 * @throws \InvalidArgumentException In case the menu with name given in the `$menu` argument
@@ -224,7 +220,6 @@ public function create(string $name, array $options = []): ItemInterface
224220 * @throws \InvalidArgumentException In case the `voters` option is not an array.
225221 * @throws \InvalidArgumentException In case the `renderer` option is not a
226222 * `Knp\Menu\Renderer\RendererInterface` implementation.
227- *
228223 * @param ItemInterface|string|array|null $menu Either an `\Knp\Menu\ItemInterface` implementation,
229224 * the name of a menu created via `create()`, or an array of options to use instead of the
230225 * `$options` argument. If omitted or an array, the menu that was last created via `create()`
0 commit comments