Skip to content

Commit a4ed09c

Browse files
SniperSisterrdeutz
authored andcommitted
move base dto
1 parent 3a09bb2 commit a4ed09c

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

app/RemoteSite/Responses/BaseResponse.php renamed to app/DTO/BaseDTO.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?php
22

3-
namespace App\RemoteSite\Responses;
3+
namespace App\DTO;
44

5-
abstract class BaseResponse
5+
abstract class BaseDTO
66
{
77
public static function from(array $data): static
88
{

app/RemoteSite/Responses/HealthCheck.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22

33
namespace App\RemoteSite\Responses;
44

5-
class HealthCheck extends BaseResponse
5+
use App\DTO\BaseDTO;
6+
7+
class HealthCheck extends BaseDTO
68
{
79
public function __construct(
810
public string $php_version,

0 commit comments

Comments
 (0)