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 5e706b5 + 7711a2b commit ddd9b32Copy full SHA for ddd9b32
src/App/Models/Activity.php
@@ -125,7 +125,7 @@ public function user()
125
public static function rules($merge = [])
126
{
127
if (app() instanceof \Illuminate\Foundation\Application) {
128
- $route_url_check = \Illuminate\Foundation\Application::VERSION < 5.8 ? 'active_url' : 'url';
+ $route_url_check = version_compare(\Illuminate\Foundation\Application::VERSION, '5.8') < 0 ? 'active_url' : 'url';
129
} else {
130
$route_url_check = 'url';
131
}
0 commit comments