From 3d56778d5be78c27c8fd223e49f64096bbac83db Mon Sep 17 00:00:00 2001 From: Yu Hengliang Date: Sat, 15 Mar 2025 18:25:06 +0800 Subject: [PATCH] Update Blade.php MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 支持 php 8.4 --- src/Blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Blade.php b/src/Blade.php index d5acd98..4817fc1 100644 --- a/src/Blade.php +++ b/src/Blade.php @@ -30,7 +30,7 @@ class Blade implements FactoryContract */ private $compiler; - public function __construct($viewPaths, string $cachePath, ContainerInterface $container = null) + public function __construct($viewPaths, string $cachePath, null | ContainerInterface $container = null) { $this->container = $container ?: new Application;