Skip to content

Commit

Permalink
Merge branch '4.x' into nested-resources
Browse files Browse the repository at this point in the history
  • Loading branch information
danharrin committed Apr 29, 2024
2 parents d60696a + fcd80d7 commit 362cc20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/tables/src/Concerns/HasRecordAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ trait HasRecordAction
*/
protected function getTableRecordActionUsing(): ?Closure
{
return function (Model $record): ?string {
return function (Model | array $record): ?string {
return $this->getTableRecordAction();
};
}
Expand Down

0 comments on commit 362cc20

Please sign in to comment.