From 41621612a700020b10e820bd0d026e8c2990f1ab Mon Sep 17 00:00:00 2001 From: James Brooks Date: Tue, 1 Jan 2019 11:22:58 +0000 Subject: [PATCH] Use Twig namespaces --- .../Commands/Incident/CreateIncidentCommandHandler.php | 4 ++-- .../Commands/Incident/UpdateIncidentCommandHandler.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/Bus/Handlers/Commands/Incident/CreateIncidentCommandHandler.php b/app/Bus/Handlers/Commands/Incident/CreateIncidentCommandHandler.php index fae44d84..6bf3fa6b 100644 --- a/app/Bus/Handlers/Commands/Incident/CreateIncidentCommandHandler.php +++ b/app/Bus/Handlers/Commands/Incident/CreateIncidentCommandHandler.php @@ -22,8 +22,8 @@ use CachetHQ\Cachet\Models\Meta; use CachetHQ\Cachet\Services\Dates\DateFactory; use Carbon\Carbon; use Illuminate\Contracts\Auth\Guard; -use Twig_Environment; -use Twig_Loader_Array; +use Twig\Environment as Twig_Environment; +use Twig\Loader\ArrayLoader as Twig_Loader_Array; /** * This is the create incident command handler. diff --git a/app/Bus/Handlers/Commands/Incident/UpdateIncidentCommandHandler.php b/app/Bus/Handlers/Commands/Incident/UpdateIncidentCommandHandler.php index 7b6af453..3e5f0ba3 100644 --- a/app/Bus/Handlers/Commands/Incident/UpdateIncidentCommandHandler.php +++ b/app/Bus/Handlers/Commands/Incident/UpdateIncidentCommandHandler.php @@ -20,8 +20,8 @@ use CachetHQ\Cachet\Models\Incident; use CachetHQ\Cachet\Models\IncidentTemplate; use CachetHQ\Cachet\Services\Dates\DateFactory; use Illuminate\Contracts\Auth\Guard; -use Twig_Environment; -use Twig_Loader_Array; +use Twig\Environment as Twig_Environment; +use Twig\Loader\ArrayLoader as Twig_Loader_Array; /** * This is the update incident command handler.