Skip to content

Commit 94cc2c5

Browse files
authored
Fixes create network return type (#164)
1 parent 49dcdf8 commit 94cc2c5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Commands/NetworkCommand.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public function handle()
2929
{
3030
Helpers::ensure_api_token_is_available();
3131

32-
$network = $this->vapor->createNetwork(
32+
$this->vapor->createNetwork(
3333
$this->determineProvider('Which cloud provider should the network belong to?'),
3434
$this->argument('network'),
3535
$this->determineRegion('Which region should the network be placed in?'),

src/ConsoleVaporClient.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ public function network($networkId)
318318
* @param string $name
319319
* @param string $region
320320
* @param bool $withInternetAccess
321-
* @return array
321+
* @return void
322322
*/
323323
public function createNetwork($providerId, $name, $region, $withInternetAccess)
324324
{

0 commit comments

Comments
 (0)