Skip to content

Commit 78f7be0

Browse files
committed
Allow supplying string based statuses to the lead summary request builder.
1 parent e7722d6 commit 78f7be0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Api/Builders/LeadSummaryRequestBuilder.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,10 @@ public function getStatus(): ?array
3737
return $this->status;
3838
}
3939

40-
public function setStatus(array $status): self
40+
public function setStatus($status): self
4141
{
42+
$status = (array) $status;
43+
4244
$statuses = new LeadStatus();
4345

4446
foreach ($status as $statusText) {

0 commit comments

Comments
 (0)