diff --git a/packages/framework/src/Support/Includes.php b/packages/framework/src/Support/Includes.php index 125ea80b484..e523807d751 100644 --- a/packages/framework/src/Support/Includes.php +++ b/packages/framework/src/Support/Includes.php @@ -94,7 +94,7 @@ public static function markdown(string $filename, ?string $default = null): ?Htm return static::getInclude([static::class, 'renderMarkdown'], $filename, $default, '.md'); } - protected static function getInclude(callable $method, string $filename, ?string $default, string $extension): ?HtmlString + protected static function getInclude(callable $method, string $filename, ?string $default, string $extension = ''): ?HtmlString { $path = static::normalizePath($filename, $extension); $contents = static::getFileContents(static::path($path));