<?php

namespace Illuminate\Support\Facades;

/**
 * @method static void compile($path = null)
 * @method static string getPath()
 * @method static void setPath($path)
 * @method static string compileString($value)
 * @method static string stripParentheses($expression)
 * @method static void extend(callable $compiler)
 * @method static array getExtensions()
 * @method static void if($name, callable $callback)
 * @method static bool check($name, ...$parameters)
 * @method static void component($path, $alias = null)
 * @method static void include($path, $alias = null)
 * @method static void directive($name, callable $handler)
 * @method static array getCustomDirectives()
 * @method static void setEchoFormat($format)
 * @method static void withDoubleEncoding()
 * @method static void withoutDoubleEncoding()
 *
 * @see \Illuminate\View\Compilers\BladeCompiler
 */
class Blade extends Facade
{
    /**
     * Get the registered name of the component.
     *
     * @return string
     */
    protected static function getFacadeAccessor()
    {
        return 'blade.compiler';
    }
}

<?php

namespace Illuminate\Support\Facades;

/**
 * @method static void compile(string|null $path = null)
 * @method static string getPath()
 * @method static void setPath(string $path)
 * @method static string compileString(string $value)
 * @method static string stripParentheses(string $expression)
 * @method static void extend(callable $compiler)
 * @method static array getExtensions()
 * @method static void if(string $name, callable $callback)
 * @method static bool check(string $name, array ...$parameters)
 * @method static void component(string $path, string|null $alias = null)
 * @method static void include(string $path, string|null $alias = null)
 * @method static void directive(string $name, callable $handler)
 * @method static array getCustomDirectives()
 * @method static void setEchoFormat(string $format)
 * @method static void withDoubleEncoding()
 * @method static void withoutDoubleEncoding()
 *
 * @see \Illuminate\View\Compilers\BladeCompiler
 */
class Blade extends Facade
{
    /**
     * Get the registered name of the component.
     *
     * @return string
     */
    protected static function getFacadeAccessor()
    {
        return 'blade.compiler';
    }
}

Add type-hints to Artisan Facade methods props
Add type-hints to Artisan Facade methods props
