We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| 1 | <?php |
||
| 21 | class MenuRepository extends Menu |
||
| 22 | { |
||
| 23 | |||
| 24 | public function whereID(int $integer) : Menu |
||
| 28 | |||
| 29 | public function restoreTrashedPlugin($plugin_name) |
||
| 33 | |||
| 34 | public function allByPriorityOrder() |
||
| 38 | |||
| 39 | public function allByRowOrder() |
||
| 43 | |||
| 44 | public function listAllMenusNotRequired() |
||
| 48 | |||
| 49 | public function makeList() |
||
| 53 | |||
| 54 | public function listWhereInternal() |
||
| 58 | |||
| 59 | public function submenusWhereID($integer) |
||
| 63 | |||
| 64 | public function allMenus() |
||
| 68 | |||
| 69 | public function allMenusWhereID($integer) |
||
| 73 | |||
| 74 | public function allSubmenus() |
||
| 78 | |||
| 79 | public function allSubmenusByPriorityOrderAndGrouped() |
||
| 83 | |||
| 84 | /** |
||
| 85 | * @param $string |
||
| 86 | * @return Menu|array|\stdClass |
||
| 87 | */ |
||
| 88 | public function whereName($string) |
||
| 92 | |||
| 93 | /** |
||
| 94 | * This will return the menus in order, that will be displayed in the front end. |
||
| 95 | */ |
||
| 96 | public function whereFrontEndMenu() : Collection |
||
| 100 | |||
| 101 | /** |
||
| 102 | * Return a menus set of submenus from the database. |
||
| 103 | */ |
||
| 104 | public function allSubmenusOfMenuID(int $integer) : Collection |
||
| 108 | |||
| 109 | /** |
||
| 110 | * Return all the global menus with the submenus and pages. |
||
| 111 | */ |
||
| 112 | public function allGlobalMenusWithSubmenus() |
||
| 116 | } |
||
| 117 |
Our type inference engine in quite powerful, but sometimes the code does not provide enough clues to go by. In these cases we request you to add a
@returnannotation as described here.