We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4b5faf3 + a9b9421 commit 1bad5f9Copy full SHA for 1bad5f9
src/Menu.php
@@ -160,7 +160,7 @@ public function all()
160
*
161
* @return int
162
*/
163
- public function count()
+ public function count(): int
164
{
165
return count($this->menu);
166
}
src/MenuBuilder.php
@@ -559,7 +559,7 @@ public function divider()
559
560
561
562
563
564
return count($this->items);
565
0 commit comments