Skip to content

Conversation

lamasfoker
Copy link

Reproduce steps:

<?php

require_once 'vendor/autoload.php';

// create a new DigitalOcean client
$client = new DigitalOceanV2\Client();

// authenticate the client with your access token which can be
// generated at https://cloud.digitalocean.com/settings/applications
$client->authenticate('your_access_token');

$client->projectResource()->getDefaultProjectResources();

Error display:

Cannot assign stdClass to property DigitalOceanV2\Entity\ProjectResource::$links of type array

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant