mirror of
https://github.com/shlinkio/shlink.git
synced 2026-03-11 01:33:11 +08:00
Modernize Visit entity
This commit is contained in:
@@ -42,6 +42,6 @@ class GetOrphanVisitsCommand extends AbstractVisitsListCommand
|
||||
*/
|
||||
protected function mapExtraFields(Visit $visit): array
|
||||
{
|
||||
return ['type' => $visit->type()->value];
|
||||
return ['type' => $visit->type->value];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user