From df0e01af5a6a2b0740ad68404efc116ac87dec56 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mario=20Sim=C3=A3o?= Date: Thu, 21 Oct 2021 12:27:10 -0300 Subject: [PATCH] Fix internal file type --- src/Pages/Page.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Pages/Page.php b/src/Pages/Page.php index 24be3efc..31c07045 100644 --- a/src/Pages/Page.php +++ b/src/Pages/Page.php @@ -94,7 +94,7 @@ public static function fromArray(array $array): self $icon = Emoji::fromArray($iconArray); } - if ($iconType === "internal" || $iconType === "external") { + if ($iconType === "file" || $iconType === "external") { /** @psalm-var FileJson $iconArray */ $icon = File::fromArray($iconArray); }