From 86983237a9c00eb773c8e71e3d3ffaf4af5d85ea Mon Sep 17 00:00:00 2001 From: Awilum Date: Sat, 8 Jun 2019 00:25:21 +0300 Subject: [PATCH] Flextype Box Plugin: Admin #125 #117 - fixes and refactoring --- site/plugins/admin/app/Controllers/InformationController.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/site/plugins/admin/app/Controllers/InformationController.php b/site/plugins/admin/app/Controllers/InformationController.php index 9c70372f..036fa6d2 100644 --- a/site/plugins/admin/app/Controllers/InformationController.php +++ b/site/plugins/admin/app/Controllers/InformationController.php @@ -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())) {