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 ) { } }