From 3468bdf51148f152c34c97cbf0a89e970bc0dc67 Mon Sep 17 00:00:00 2001 From: Franz Liedke Date: Tue, 18 Dec 2018 11:16:30 +0100 Subject: [PATCH] Run local extenders before booting service providers We still need to discuss the priority of local extenders vs. those from enabled extensions, but let's first fix the actual bug. Refs #1708. --- src/Foundation/InstalledSite.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Foundation/InstalledSite.php b/src/Foundation/InstalledSite.php index 712c2ca4e..8e516ef0b 100644 --- a/src/Foundation/InstalledSite.php +++ b/src/Foundation/InstalledSite.php @@ -146,12 +146,12 @@ class InstalledSite implements SiteInterface $laravel->register(ExtensionServiceProvider::class); - $laravel->boot(); - foreach ($this->extenders as $extension) { $extension->extend($laravel); } + $laravel->boot(); + return $laravel; }