Skip to content

Commit 30ac085

Browse files
committed
Lumen 8 Activity Rule Support
1 parent af1b8e0 commit 30ac085

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/App/Models/Activity.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ public function user()
125125
*/
126126
public static function rules($merge = [])
127127
{
128-
if ((app() instanceof \Illuminate\Foundation\Application)) {
128+
if (app() instanceof \Illuminate\Foundation\Application) {
129129
$route_url_check = \Illuminate\Foundation\Application::VERSION < 5.8 ? 'active_url' : 'url';
130130
} else {
131131
$route_url_check = 'url';

0 commit comments

Comments
 (0)