Skip to content

Commit 25f637e

Browse files
committed
Allow null release versions (if you're on a dev branch).
1 parent ac3ff4a commit 25f637e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

backend/src/Entity/Api/Admin/UpdateDetails.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@ public function __construct(
2020
description: 'The stable-equivalent branch your installation currently appears to be on.',
2121
example: '0.20.3'
2222
)]
23-
public string $current_release,
23+
public ?string $current_release,
2424
#[OA\Property(
2525
description: 'The current latest stable release of the software.',
2626
example: '0.20.4'
2727
)]
28-
public string $latest_release,
28+
public ?string $latest_release,
2929
#[OA\Property(
3030
description: 'If you are on the Rolling Release, whether your installation needs to be updated.',
3131
)]

0 commit comments

Comments
 (0)