Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixes nullable port #81

Merged
merged 1 commit into from
Oct 12, 2021
Merged

fixes nullable port #81

merged 1 commit into from
Oct 12, 2021

Conversation

jprangenbergde
Copy link
Contributor

If you created a ICMP Rule, the port is nullable.

This change fixes:
_TypeError: LKDev\HetznerCloud\Models\Firewalls\FirewallRule::_construct(): Argument #5 ($port) must be of type string, null given, called in /var/www/html/vendor/lkdevelopment/hetzner-cloud-php-sdk/src/Models/Firewalls/Firewall.php on line 112 and defined in /var/www/html/vendor/lkdevelopment/hetzner-cloud-php-sdk/src/Models/Firewalls/FirewallRule.php:48

image
image

@jprangenbergde
Copy link
Contributor Author

@LKaemmerling: What do you say to this PR?

@LKaemmerling LKaemmerling merged commit 3b0cf8b into LKDevelopment:master Oct 12, 2021
@LKaemmerling
Copy link
Collaborator

Hey @jprangenbergde,

thank you for the fix! Good catch!

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.

None yet

2 participants