Skip to content

Commit 639a3b9

Browse files
authored
Merge pull request #18273 from Godmartinz/fix-null-assignee-bug-in-checkoutable
Refactor `assignee` in Checkoutable to accept null
2 parents 3237a3b + 4629450 commit 639a3b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/Models/Checkoutable.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ public function __construct(
1313
public string $name,
1414
public string $type,
1515
public object $acceptance,
16-
public object $assignee,
16+
public readonly User|Asset|Location|null $assignee,
1717
public readonly string $plain_text_category,
1818
public readonly string $plain_text_model,
1919
public readonly string $plain_text_name,

0 commit comments

Comments
 (0)