1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-28 23:40:41 +02:00

Flextype Box Plugin: Admin #125 #117

- fixes and refactoring
This commit is contained in:
Awilum
2019-06-08 00:25:21 +03:00
parent 7a7232805c
commit 86983237a9

View File

@@ -6,6 +6,9 @@ use function Flextype\Component\I18n\__;
use Psr\Http\Message\ResponseInterface as Response;
use Psr\Http\Message\ServerRequestInterface as Request;
/**
* @property View $view
*/
class InformationController extends Controller
{
/**
@@ -16,7 +19,7 @@ class InformationController extends Controller
*
* @return Response
*/
public function index(/** @scrutinizer ignore-unused */ $request, $response)
public function index(/** @scrutinizer ignore-unused */ Request $request, Response $response) : Response
{
if (function_exists('apache_get_modules')) {
if (!in_array('mod_rewrite', apache_get_modules())) {