Skip to content

Commit

Permalink
update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
as247 committed May 9, 2023
1 parent 919a0e4 commit 597b7c7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/WpStarter/Wordpress/Admin/Facades/Route.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
use WpStarter\Wordpress\Admin\View\Layout;

/**
* @method static Menu add($slug, $callback, $capability = 'read', $title ='' ,$page_title = '', $icon = '', $position = null)
* @method static Menu menu($slug)
* @method static Menu add(string $slug, array|string|callable $callback, $capability = 'read', $title ='' ,$page_title = '', $icon = '', $position = null)
* @method static Menu menu(string $slug)
* @method static Menu current()
* @method static MenuCollection menus()
* @method static \WpStarter\Wordpress\Admin\Routing\RouteRegistrar parent($parent)
Expand All @@ -23,4 +23,4 @@ protected static function getFacadeAccessor()
{
return 'wp.admin.router';
}
}
}

0 comments on commit 597b7c7

Please sign in to comment.