From 85252ca05e5e4c98f4d8670e385a2c2c3875e21f Mon Sep 17 00:00:00 2001 From: Sam Minnee Date: Tue, 8 Sep 2020 13:20:08 +1200 Subject: [PATCH] FIX: Ensure Embed options are always array This maintains support for embed 3.0.0. --- src/View/Embed/EmbedResource.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/View/Embed/EmbedResource.php b/src/View/Embed/EmbedResource.php index 3f867465f..8a1c2127c 100644 --- a/src/View/Embed/EmbedResource.php +++ b/src/View/Embed/EmbedResource.php @@ -29,7 +29,7 @@ class EmbedResource implements Embeddable /** * @var array */ - protected $options; + protected $options = []; /** * @var DispatcherInterface