mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-18 00:02:15 +00:00
Shared pages refactoring part 1
This commit is contained in:
@@ -1,16 +1,18 @@
|
||||
<?php
|
||||
namespace Domain\Homepage\Controllers;
|
||||
|
||||
use Illuminate\View\View;
|
||||
use Illuminate\Contracts\Foundation\Application;
|
||||
use Illuminate\Contracts\View\Factory;
|
||||
use Domain\Pages\Models\Page;
|
||||
use Doctrine\DBAL\Driver\PDOException;
|
||||
use Illuminate\Contracts\View\View;
|
||||
|
||||
class IndexController
|
||||
{
|
||||
/**
|
||||
* Show index page
|
||||
*/
|
||||
public function __invoke(): View
|
||||
public function __invoke(): Application|Factory|View
|
||||
{
|
||||
try {
|
||||
// Try to connect to database
|
||||
|
||||
Reference in New Issue
Block a user