mirror of
https://github.com/monstra-cms/monstra.git
synced 2025-08-09 06:37:01 +02:00
Code fix
This commit is contained in:
@@ -121,8 +121,8 @@ class Navigation
|
||||
* @param string $category Category
|
||||
* @param integer $type Type. Default is LEFT
|
||||
*/
|
||||
public static function get($category, $type = Navigation::LEFT) {
|
||||
|
||||
public static function get($category, $type = Navigation::LEFT)
|
||||
{
|
||||
// Sort items by priority
|
||||
$items = Arr::subvalSort(Navigation::$items, 'priority');
|
||||
|
||||
@@ -168,10 +168,10 @@ class Navigation
|
||||
* Navigation::getDropdown('content');
|
||||
* <code>
|
||||
*
|
||||
* @param string $category Category
|
||||
* @param string $category Category
|
||||
*/
|
||||
public static function getDropdown($category) {
|
||||
|
||||
public static function getDropdown($category)
|
||||
{
|
||||
// Sort items by priority
|
||||
$items = Arr::subvalSort(Navigation::$items, 'priority');
|
||||
|
||||
|
Reference in New Issue
Block a user