From a2a397fb12fb6fb4f164488d6f2f8dbc69006b84 Mon Sep 17 00:00:00 2001 From: Brandon Date: Fri, 3 May 2019 05:16:33 -0500 Subject: [PATCH] Use a better method to get the Sage 10 compiler --- src/Directives.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Directives.php b/src/Directives.php index 1c1f51a..5243279 100644 --- a/src/Directives.php +++ b/src/Directives.php @@ -83,7 +83,7 @@ protected function blade() } if (function_exists('Roots\app')) { - return \Roots\app()['view']->getEngineResolver()->resolve('blade')->getCompiler(); + return \Roots\app('blade.compiler'); } } }