Skip to content

Commit bb134a6

Browse files
committed
support php 7.4
1 parent 8defbfa commit bb134a6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Models/ModelAction.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ public function scopeModelId($query, int $id)
8585
return $query->where('actionable_id', $id);
8686
}
8787

88-
public function scopeModelIdIn($query, Collection|array $ids)
88+
public function scopeModelIdIn($query, array $ids)
8989
{
9090
return $query->whereIn('actionable_id', $ids);
9191
}

src/Traits/FluentUpdate.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ public function setPending()
1616
return $this;
1717
}
1818

19-
public function setFinished(DateTime|null $at = null)
19+
public function setFinished(DateTime $at = null)
2020
{
2121
$this->status = Status::FINISHED;
2222
$this->finished_at = $at ?? now();

0 commit comments

Comments
 (0)