From d2a7c4d588e73bc289b265beb1be95bab6b36a6d Mon Sep 17 00:00:00 2001 From: Matthew Baggett Date: Thu, 27 Feb 2020 10:52:35 +0100 Subject: [PATCH] Cleanup --- src/⌬.php | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/src/⌬.php b/src/⌬.php index c76d5a8..2436e16 100644 --- a/src/⌬.php +++ b/src/⌬.php @@ -12,7 +12,6 @@ use DebugBar\DebugBar; use DebugBar\StandardDebugBar; use Faker\Factory as FakerFactory; use Faker\Provider; -use Monolog\Handler\StreamHandler; use Monolog\Processor\PsrLogMessageProcessor; use Predis\Client as Predis; use Psr\Http\Message\ResponseInterface; @@ -128,13 +127,13 @@ class ⌬ $this->setupMiddlewares(); - if(class_exists(Controllers\Controller::class)) { + if (class_exists(Controllers\Controller::class)) { $this->addViewPath($this->getContainer()->get(Controllers\Controller::class)->getViewsPath()); - if (file_exists($this->configuration->get(Configuration::KEY_APP_ROOT) . '/views/')) { - $this->addViewPath($this->configuration->get(Configuration::KEY_APP_ROOT) . '/views/'); + if (file_exists($this->configuration->get(Configuration::KEY_APP_ROOT).'/views/')) { + $this->addViewPath($this->configuration->get(Configuration::KEY_APP_ROOT).'/views/'); } - if (file_exists($this->configuration->get(Configuration::KEY_APP_ROOT) . '/src/Views')) { - $this->addViewPath($this->configuration->get(Configuration::KEY_APP_ROOT) . '/src/Views'); + if (file_exists($this->configuration->get(Configuration::KEY_APP_ROOT).'/src/Views')) { + $this->addViewPath($this->configuration->get(Configuration::KEY_APP_ROOT).'/src/Views'); } $this->interrogateControllers();