We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 753be7f + d8e3ef2 commit 5e055b0Copy full SHA for 5e055b0
src/app/Models/Activity.php
@@ -70,11 +70,11 @@ class Activity extends Model
70
protected $casts = [
71
'description' => 'string',
72
'user' => 'integer',
73
- 'route' => 'url',
+ 'route' => 'string',
74
'ipAddress' => 'ipAddress',
75
'userAgent' => 'string',
76
'locale' => 'string',
77
- 'referer' => 'url',
+ 'referer' => 'string',
78
'methodType' => 'string',
79
];
80
@@ -133,7 +133,7 @@ public static function rules($merge = [])
133
'ipAddress' => 'nullable|ip',
134
'userAgent' => 'nullable|string',
135
'locale' => 'nullable|string',
136
- 'referer' => 'nullable|url',
+ 'referer' => 'nullable|string',
137
'methodType' => 'nullable|string',
138
],
139
$merge);
0 commit comments