From 3f325ddaae3948ce36329a39ee068b6a59645216 Mon Sep 17 00:00:00 2001 From: Pierre Rudloff Date: Sun, 12 Nov 2017 16:39:56 +0100 Subject: [PATCH] Missing property --- controllers/FrontController.php | 1 + tests/LocaleMiddlewareTest.php | 7 +++++++ 2 files changed, 8 insertions(+) diff --git a/controllers/FrontController.php b/controllers/FrontController.php index 5ac9459..711f474 100644 --- a/controllers/FrontController.php +++ b/controllers/FrontController.php @@ -7,6 +7,7 @@ namespace Alltube\Controller; use Alltube\Config; use Alltube\Locale; +use Alltube\LocaleManager; use Alltube\PasswordException; use Alltube\VideoDownload; use Psr\Container\ContainerInterface; diff --git a/tests/LocaleMiddlewareTest.php b/tests/LocaleMiddlewareTest.php index 0db9f9f..f7455fd 100644 --- a/tests/LocaleMiddlewareTest.php +++ b/tests/LocaleMiddlewareTest.php @@ -26,6 +26,13 @@ class LocaleMiddlewareTest extends TestCase */ private $middleware; + /** + * Slim dependency container. + * + * @var Container + */ + private $container; + /** * Prepare tests. */