From bef2451fa9e4d1e8ed5191cc7a527c7d741d67f9 Mon Sep 17 00:00:00 2001 From: Seam Bot Date: Fri, 15 Nov 2024 03:34:39 +0000 Subject: [PATCH] ci: Generate code --- src/Objects/AcsCredentialWarnings.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Objects/AcsCredentialWarnings.php b/src/Objects/AcsCredentialWarnings.php index 3c0cc1a..06049b4 100644 --- a/src/Objects/AcsCredentialWarnings.php +++ b/src/Objects/AcsCredentialWarnings.php @@ -10,16 +10,16 @@ public static function from_json(mixed $json): AcsCredentialWarnings|null return null; } return new self( + created_at: $json->created_at, message: $json->message, - warning_code: $json->warning_code, - created_at: $json->created_at ?? null + warning_code: $json->warning_code ); } public function __construct( + public string $created_at, public string $message, - public string $warning_code, - public string|null $created_at + public string $warning_code ) { } }