Skip to content

Commit

Permalink
Merge branch '4.2' into 4.3
Browse files Browse the repository at this point in the history
  • Loading branch information
GrahamCampbell committed Mar 1, 2021
2 parents cc6ae38 + 6893187 commit f09a977
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ CHANGE LOG
* TBC


## 4.2.1 (UPCOMING)

* Add missing `$vpcUuid` default value


## 4.2.0 (20/02/2021)

* Support VPCs when creating droplets
Expand Down
2 changes: 1 addition & 1 deletion src/Api/Droplet.php
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ public function getById(int $id)
*
* @return DropletEntity|DropletEntity[]|null
*/
public function create($names, string $region, string $size, $image, bool $backups = false, bool $ipv6 = false, $vpcUuid, array $sshKeys = [], string $userData = '', bool $monitoring = true, array $volumes = [], array $tags = [])
public function create($names, string $region, string $size, $image, bool $backups = false, bool $ipv6 = false, $vpcUuid = false, array $sshKeys = [], string $userData = '', bool $monitoring = true, array $volumes = [], array $tags = [])
{
$data = \is_array($names) ? ['names' => $names] : ['name' => $names];

Expand Down

0 comments on commit f09a977

Please sign in to comment.