Completed
Push — master ( dcdcb3...4c21a1 )
by Chauncey
13:40
created
src/Charcoal/Ui/Menu/AbstractMenu.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
 
58 58
     /**
59 59
      * @param MenuItemBuilder $menuItemBuilder The Menu Item Builder that will be used to create new items.
60
-     * @return AsbtractMenu Chainable
60
+     * @return AbstractMenu Chainable
61 61
      */
62 62
     public function setMenuItemBuilder(MenuItemBuilder $menuItemBuilder)
63 63
     {
@@ -92,7 +92,7 @@  discard block
 block discarded – undo
92 92
      * @param array|MenuItemInterface $item  A menu item structure or object.
93 93
      * @param string                  $ident The menu item identifier, if any.
94 94
      * @throws InvalidArgumentException If the item argument is not a structure or object.
95
-     * @return MenuItem Chainable
95
+     * @return AbstractMenu Chainable
96 96
      */
97 97
     public function addItem($item, $ident = null)
98 98
     {
@@ -125,7 +125,7 @@  discard block
 block discarded – undo
125 125
      * Menu Item generator.
126 126
      *
127 127
      * @param callable $itemCallback Optional. Item callback.
128
-     * @return MenuItemInterface[]
128
+     * @return \Generator
129 129
      */
130 130
     public function items(callable $itemCallback = null)
131 131
     {
Please login to merge, or discard this patch.