Skip to content

Commit 8b060f2

Browse files
Get ready for release
1 parent 4e77168 commit 8b060f2

File tree

3 files changed

+7
-10
lines changed

3 files changed

+7
-10
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ CHANGE LOG
88
* Drop support for PHP earlier than 8.1
99
* Moved various param types to native PHP types
1010
* Add `floatingIpLimit` to `Account` entity
11+
* Add `storageSizeMib` to `DatabaseCluster` entity
1112
* Add support for `custom` and `snapshot` image types
1213
* Changed the signature of `Firewall::update` to allow partial changes
1314

phpstan-baseline.neon

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -252,12 +252,6 @@ parameters:
252252
count: 1
253253
path: src/HttpClient/Message/ResponseMediator.php
254254

255-
-
256-
message: '#^Property DigitalOceanV2\\HttpClient\\Plugin\\History\:\:\$lastResponse \(Psr\\Http\\Message\\ResponseInterface\|null\) is never assigned null so it can be removed from the property type\.$#'
257-
identifier: property.unusedType
258-
count: 1
259-
path: src/HttpClient/Plugin/History.php
260-
261255
-
262256
message: '#^PHPDoc tag @var with type string is not subtype of native type non\-empty\-string\|false\.$#'
263257
identifier: varTag.nativeType

src/HttpClient/Plugin/History.php

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,12 @@
2929
*/
3030
final class History implements Journal
3131
{
32-
/**
33-
* The last response.
34-
*/
35-
private ?\Psr\Http\Message\ResponseInterface $lastResponse;
32+
private ?ResponseInterface $lastResponse;
33+
34+
public function __construct()
35+
{
36+
$this->lastResponse = null;
37+
}
3638

3739
/**
3840
* Get the last response.

0 commit comments

Comments
 (0)