From f687a4f6c84abdcd6a4057a963abb1dc0665bc35 Mon Sep 17 00:00:00 2001 From: Alies Lapatsin Date: Sun, 22 Jan 2023 17:52:21 +0100 Subject: [PATCH] Use View contract instead implementation --- src/Handlers/Helpers/ViewHandler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Handlers/Helpers/ViewHandler.php b/src/Handlers/Helpers/ViewHandler.php index 933ad9d8..3133d9a0 100644 --- a/src/Handlers/Helpers/ViewHandler.php +++ b/src/Handlers/Helpers/ViewHandler.php @@ -3,7 +3,7 @@ namespace Psalm\LaravelPlugin\Handlers\Helpers; use Illuminate\Contracts\View\Factory; -use Illuminate\View\View; +use Illuminate\Contracts\View\View; use Psalm\Plugin\EventHandler\Event\FunctionReturnTypeProviderEvent; use Psalm\Plugin\EventHandler\FunctionReturnTypeProviderInterface; use Psalm\Type;