LKDevelopment / hetzner-cloud-php-sdk

A PHP SDK for the Hetzner Cloud API
MIT License
104 stars 51 forks source link

Create Server #91

Open science20012003 opened 1 year ago

science20012003 commented 1 year ago

Hi I see this issue when i using SDK in lkdevelopment/hetzner-cloud-php-sdk/src/Models/Servers/Servers.php line 240 if (! empty($firewalls)) { $parameters['firewalls'] = json_encode($firewalls); }

must remove json_encode see https://docs.hetzner.cloud/#servers-create-a-server thanks also will be good if you add anther options