mirror of
https://github.com/CachetHQ/Cachet.git
synced 2025-01-18 05:58:18 +01:00
Docblock fixes
This commit is contained in:
parent
0fed178c34
commit
b8e3dcff55
@ -31,8 +31,18 @@ class ComponentController extends Controller
|
||||
{
|
||||
use DispatchesJobs;
|
||||
|
||||
/**
|
||||
* Array of sub-menu items.
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected $subMenu = [];
|
||||
|
||||
/**
|
||||
* Creates a new component controller instance.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
$this->subMenu = [
|
||||
|
@ -37,7 +37,7 @@ class IncidentController extends Controller
|
||||
protected $subMenu = [];
|
||||
|
||||
/**
|
||||
* Creates a new DashIncidentController instance.
|
||||
* Creates a new incident controller instance.
|
||||
*
|
||||
* @return \CachetHQ\Cachet\Http\Controllers\DashScheduleController
|
||||
*/
|
||||
|
@ -36,7 +36,7 @@ class ScheduleController extends Controller
|
||||
protected $subMenu = [];
|
||||
|
||||
/**
|
||||
* Creates a new DashScheduleController instance.
|
||||
* Creates a new schedule controller instance.
|
||||
*
|
||||
* @return \CachetHQ\Cachet\Http\Controllers\DashScheduleController
|
||||
*/
|
||||
|
@ -23,9 +23,25 @@ use Illuminate\Support\Facades\View;
|
||||
|
||||
class SettingsController extends Controller
|
||||
{
|
||||
/**
|
||||
* Array of sub-menu items.
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected $subMenu = [];
|
||||
|
||||
/**
|
||||
* The title of the sub-menu.
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
protected $subTitle = 'Settings';
|
||||
|
||||
/**
|
||||
* Creates a new settings controller instance.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
$this->subMenu = [
|
||||
@ -67,9 +83,10 @@ class SettingsController extends Controller
|
||||
],
|
||||
];
|
||||
|
||||
View::share('sub_title', $this->subTitle);
|
||||
|
||||
View::share('sub_menu', $this->subMenu);
|
||||
View::share([
|
||||
'sub_title' => $this->subTitle,
|
||||
'sub_menu' => $this->subMenu,
|
||||
]);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user