Skip to content

Fix docs.#62

Closed
tobyS wants to merge 1 commit intoLKDevelopment:masterfrom
tobyS:patch-1
Closed

Fix docs.#62
tobyS wants to merge 1 commit intoLKDevelopment:masterfrom
tobyS:patch-1

Conversation

@tobyS
Copy link

@tobyS tobyS commented Nov 19, 2020

No description provided.


/**
* @var array|\LKDev\HetznerCloud\Models\Protection
* @var stdClass|\LKDev\HetznerCloud\Models\Protection
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks like a bug, because it should always be an object. I will look into it.


/**
* @var array
* @var stdClass|array (empty array if empty)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would like to add an Object here with better specification.


/**
* @var array
* @var stdClass|array (empty array if empty)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would like to add an PrivateNetwork[] here. Will prepare it.

@LKaemmerling
Copy link
Collaborator

Thank you @tobyS! I left a few comments, because i would like to improve the code quality completely, and therefore i would like to close this MR. I will work on a better Typing now.

@tobyS
Copy link
Author

tobyS commented Nov 25, 2020

Lovely, that'd be even better. 👍

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.

2 participants