Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add generics notation to MenuInterface #331

Merged
merged 2 commits into from
Feb 19, 2021
Merged
Changes from 1 commit
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
Prev Previous commit
Keys in MenuItemInterface should be strings
Co-authored-by: Alexander M. Turek <me@derrabus.de>
  • Loading branch information
emodric and derrabus authored Feb 18, 2021
commit 8227d8cad6fdd5eb7af127e52cdc4f7ea6553a9b
2 changes: 1 addition & 1 deletion src/Knp/Menu/ItemInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* most of the time by default.
* Originally taken from ioMenuPlugin (http://github.com/weaverryan/ioMenuPlugin)
*
* @extends \IteratorAggregate<self>
* @extends \IteratorAggregate<string, self>
*/
interface ItemInterface extends \ArrayAccess, \Countable, \IteratorAggregate
{
Expand Down