File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ CHANGE LOG
9
9
* Moved various param types to native PHP types
10
10
* Add ` floatingIpLimit ` to ` Account ` entity
11
11
* Add support for ` custom ` and ` snapshot ` image types
12
+ * Changed the signature of ` Firewall::update ` to allow partial changes
12
13
13
14
14
15
## 4.9.1 (23/02/2025)
Original file line number Diff line number Diff line change @@ -79,10 +79,8 @@ public function remove(string $id): void
79
79
/**
80
80
* @throws ExceptionInterface
81
81
*/
82
- public function update (string $ id , FirewallEntity $ firewall ): FirewallEntity
82
+ public function update (string $ id , array $ data ): FirewallEntity
83
83
{
84
- $ data = $ firewall ->toArray ();
85
-
86
84
$ result = $ this ->put (\sprintf ('firewalls/%s ' , $ id ), $ data );
87
85
88
86
return new FirewallEntity ($ result ->firewall );
You can’t perform that action at this time.
0 commit comments