From 5d2c346d8345f8a74fba4cad5ab9724ccd061805 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rub=C3=A9n=20Robles?= Date: Thu, 5 Oct 2023 16:59:59 +0200 Subject: [PATCH] fix DtoMakeCommandTest with class string return --- tests/Integration/DtoMakeCommandTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Integration/DtoMakeCommandTest.php b/tests/Integration/DtoMakeCommandTest.php index f708e5e..a85ffd4 100644 --- a/tests/Integration/DtoMakeCommandTest.php +++ b/tests/Integration/DtoMakeCommandTest.php @@ -51,7 +51,7 @@ public function testMakeDataTransferObjectCommandWithRequestOptionCreatesTheFile 'use OpenSoutheners\LaravelDto\Tests\Fixtures\PostCreateFormRequest;', 'final class CreatePostData', 'implements ValidatedDataTransferObject', - 'return PostCreateFormRequest;', + 'return PostCreateFormRequest::class;', ], 'app/DataTransferObjects/CreatePostData.php'); } }