Skip to content

Commit cff8ca7

Browse files
Merge branch '4.9' into 5.0
2 parents 6d77b22 + ec73498 commit cff8ca7

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@ CHANGE LOG
1010
* Add `floatingIpLimit` to `Account` entity
1111

1212

13+
## 4.9.1 (23/02/2025)
14+
15+
* Work around null list bugs in the app and database APIs
16+
17+
1318
## 4.9.0 (03/12/2023)
1419

1520
* Add support for `symfony/options-resolver:^7.0`

src/Api/App.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public function getAll(): array
3939

4040
return \array_map(function ($app) {
4141
return new AppEntity($app);
42-
}, $apps->apps);
42+
}, $apps->apps ?? []);
4343
}
4444

4545
/**

src/Api/Database.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public function getAllClusters(?string $tag = null): array
3939

4040
return \array_map(function ($cluster) {
4141
return new DatabaseClusterEntity($cluster);
42-
}, $clusters->databases);
42+
}, $clusters->databases ?? []);
4343
}
4444

4545
/**

0 commit comments

Comments
 (0)